Spaces:
Runtime error
Runtime error
Update chain_app.py
Browse files- chain_app.py +1 -0
chain_app.py
CHANGED
@@ -698,6 +698,7 @@ async def main(message: cl.Message):
|
|
698 |
connectors=[],
|
699 |
)
|
700 |
|
|
|
701 |
for event in stream:
|
702 |
if event.event_type == 'text-generation':
|
703 |
complete_content += event
|
|
|
698 |
connectors=[],
|
699 |
)
|
700 |
|
701 |
+
complete_content = ''
|
702 |
for event in stream:
|
703 |
if event.event_type == 'text-generation':
|
704 |
complete_content += event
|