Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def chat_gen(message, history, return_buffer=True):
|
|
76 |
}
|
77 |
ai_msg = conv_chain.invoke(state)
|
78 |
print(ai_msg)
|
79 |
-
for token in ai_msg
|
80 |
buffer += token
|
81 |
yield buffer
|
82 |
|
|
|
76 |
}
|
77 |
ai_msg = conv_chain.invoke(state)
|
78 |
print(ai_msg)
|
79 |
+
for token in ai_msg:
|
80 |
buffer += token
|
81 |
yield buffer
|
82 |
|