Artin2009 commited on
Commit
6189b61
1 Parent(s): d5bf3db

Update chain_app.py

Browse files
Files changed (1) hide show
  1. 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