Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ for message_chunk in client.chat_completion(
|
|
| 61 |
if len(choices) and choices[0].delta.content:
|
| 62 |
token = choices[0].delta.content
|
| 63 |
|
| 64 |
-
|
| 65 |
yield response
|
| 66 |
|
| 67 |
|
|
|
|
| 61 |
if len(choices) and choices[0].delta.content:
|
| 62 |
token = choices[0].delta.content
|
| 63 |
|
| 64 |
+
response += token
|
| 65 |
yield response
|
| 66 |
|
| 67 |
|