Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -99,8 +99,8 @@ def stream_chat(
|
|
99 |
thread.start()
|
100 |
|
101 |
buffer = ""
|
102 |
-
for new_text in streamer
|
103 |
-
buffer += new_text
|
104 |
yield buffer
|
105 |
|
106 |
|
|
|
99 |
thread.start()
|
100 |
|
101 |
buffer = ""
|
102 |
+
for new_text in streamer:
|
103 |
+
buffer += new_text[0]
|
104 |
yield buffer
|
105 |
|
106 |
|