fix bug
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def respond(
|
|
49 |
)
|
50 |
|
51 |
for message in completion:
|
52 |
-
token = message['choices'][0]['delta']['
|
53 |
|
54 |
response += token
|
55 |
yield response
|
|
|
49 |
)
|
50 |
|
51 |
for message in completion:
|
52 |
+
token = message['choices'][0]['delta']['text']
|
53 |
|
54 |
response += token
|
55 |
yield response
|