Artin2009 commited on
Commit
d5bf3db
1 Parent(s): e1dc908

Update chain_app.py

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