Spaces:
Runtime error
Runtime error
πwπ
Browse files
app.py
CHANGED
@@ -98,8 +98,9 @@ def talk(message, history):
|
|
98 |
t.start()
|
99 |
|
100 |
for new_text in streamer:
|
101 |
-
|
102 |
-
|
|
|
103 |
partial_text += resources
|
104 |
yield partial_text
|
105 |
|
|
|
98 |
t.start()
|
99 |
|
100 |
for new_text in streamer:
|
101 |
+
if new_text is not None :
|
102 |
+
partial_text += new_text
|
103 |
+
yield partial_text
|
104 |
partial_text += resources
|
105 |
yield partial_text
|
106 |
|