Update app.py
Browse files
app.py
CHANGED
|
@@ -149,7 +149,7 @@ def talk(prompt, history):
|
|
| 149 |
pprint.pprint(stream)
|
| 150 |
text = ""
|
| 151 |
for output in stream:
|
| 152 |
-
text += output['choices'][0]
|
| 153 |
yield text
|
| 154 |
|
| 155 |
# preparing tokens for model input
|
|
|
|
| 149 |
pprint.pprint(stream)
|
| 150 |
text = ""
|
| 151 |
for output in stream:
|
| 152 |
+
text += output['choices'][0]
|
| 153 |
yield text
|
| 154 |
|
| 155 |
# preparing tokens for model input
|