Spaces:
Paused
Paused
arxivgpt kim commited on
Update app.py
Browse files
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="
|
| 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,
|