Artin2009 commited on
Commit
b0bc348
1 Parent(s): d797f64

Update chain_app.py

Browse files
Files changed (1) hide show
  1. chain_app.py +1 -2
chain_app.py CHANGED
@@ -699,8 +699,7 @@ async def main(message: cl.Message):
699
  )
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
 
 
699
  )
700
 
701
  for event in stream:
702
+ await cl.Message(content=event.text).send()
 
703
 
704
 
705