Spaces:
Sleeping
Sleeping
ww commited on
Commit ·
f8f7574
1
Parent(s): acc3cf5
response
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def generate_response(
|
|
| 31 |
output = ""
|
| 32 |
for response in stream:
|
| 33 |
output += response
|
| 34 |
-
yield
|
| 35 |
#return output
|
| 36 |
|
| 37 |
|
|
|
|
| 31 |
output = ""
|
| 32 |
for response in stream:
|
| 33 |
output += response
|
| 34 |
+
yield response
|
| 35 |
#return output
|
| 36 |
|
| 37 |
|