Update app.py
Browse files
app.py
CHANGED
|
@@ -153,10 +153,10 @@ def talk(prompt,history):
|
|
| 153 |
# start a thread
|
| 154 |
print("check3G")
|
| 155 |
outputs = []
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
print("check3H")
|
| 161 |
|
| 162 |
|
|
|
|
| 153 |
# start a thread
|
| 154 |
print("check3G")
|
| 155 |
outputs = []
|
| 156 |
+
for text in streamer:
|
| 157 |
+
outputs.append(text)
|
| 158 |
+
print(outputs)
|
| 159 |
+
yield "".join(outputs)
|
| 160 |
print("check3H")
|
| 161 |
|
| 162 |
|