Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,6 @@ result = client.chat.completions.create(
|
|
| 16 |
top_p=0.7,
|
| 17 |
stream=True
|
| 18 |
)
|
| 19 |
-
text=result
|
| 20 |
#for chunk in stream:
|
| 21 |
#print(chunk.choices[0].delta.content)
|
|
|
|
| 16 |
top_p=0.7,
|
| 17 |
stream=True
|
| 18 |
)
|
| 19 |
+
text=result#.choices[0].delta.content
|
| 20 |
#for chunk in stream:
|
| 21 |
#print(chunk.choices[0].delta.content)
|