Update app.py
Browse files
app.py
CHANGED
|
@@ -188,7 +188,7 @@ if prompt := st.chat_input("How can I help you today?"):
|
|
| 188 |
|
| 189 |
def stream_example():
|
| 190 |
for word in result['result'].split():
|
| 191 |
-
yield word +
|
| 192 |
time.sleep(0.1)
|
| 193 |
|
| 194 |
# for item in output:
|
|
|
|
| 188 |
|
| 189 |
def stream_example():
|
| 190 |
for word in result['result'].split():
|
| 191 |
+
yield word + " "
|
| 192 |
time.sleep(0.1)
|
| 193 |
|
| 194 |
# for item in output:
|