Spaces:
Paused
Paused
testing
Browse files
app.py
CHANGED
|
@@ -77,7 +77,10 @@ def generate(
|
|
| 77 |
outputs = []
|
| 78 |
for text in streamer:
|
| 79 |
outputs.append(text)
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
|
| 83 |
chat_interface = gr.ChatInterface(
|
|
|
|
| 77 |
outputs = []
|
| 78 |
for text in streamer:
|
| 79 |
outputs.append(text)
|
| 80 |
+
combined_text = "".join(outputs)
|
| 81 |
+
yield combined_text
|
| 82 |
+
if "<<<<<<<" in combined_text:
|
| 83 |
+
break
|
| 84 |
|
| 85 |
|
| 86 |
chat_interface = gr.ChatInterface(
|