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