Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def respond(message, history):
|
|
| 57 |
stream=True
|
| 58 |
):
|
| 59 |
token = message_chunk['choices'][0]['delta'].get('content', '')
|
| 60 |
-
|
| 61 |
|
| 62 |
yield response
|
| 63 |
|
|
|
|
| 57 |
stream=True
|
| 58 |
):
|
| 59 |
token = message_chunk['choices'][0]['delta'].get('content', '')
|
| 60 |
+
response += token
|
| 61 |
|
| 62 |
yield response
|
| 63 |
|