Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +3 -1
chain_app.py
CHANGED
@@ -700,7 +700,9 @@ async def main(message: cl.Message):
|
|
700 |
|
701 |
for event in stream:
|
702 |
if event.event_type == "text-generation":
|
703 |
-
await cl.Message(content=event.text).send()
|
|
|
|
|
704 |
|
705 |
@cl.on_settings_update
|
706 |
async def setup_agent(settings):
|
|
|
700 |
|
701 |
for event in stream:
|
702 |
if event.event_type == "text-generation":
|
703 |
+
await cl.Message(content=event.text, end='').send()
|
704 |
+
|
705 |
+
|
706 |
|
707 |
@cl.on_settings_update
|
708 |
async def setup_agent(settings):
|