arxivgpt kim commited on
Commit
8ca33db
·
verified ·
1 Parent(s): 97fdff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ from sentence_transformers import SentenceTransformer, util
16
  async def analyze_text_with_gpt_async(text):
17
  try:
18
  response = await openai.Completion.create(
19
- engine="text-davinci-003", # 업데이트된 모델 이름으로 변경
20
  prompt=f"Summarize this text: {text}",
21
  temperature=0.7,
22
  max_tokens=150,
 
16
  async def analyze_text_with_gpt_async(text):
17
  try:
18
  response = await openai.Completion.create(
19
+ engine="gpt-3.5-turbo-instruct", # 업데이트된 모델 이름으로 변경
20
  prompt=f"Summarize this text: {text}",
21
  temperature=0.7,
22
  max_tokens=150,