Artin2009 commited on
Commit
bb6577d
1 Parent(s): 9fe4dc7

Update chain_app.py

Browse files
Files changed (1) hide show
  1. chain_app.py +1 -1
chain_app.py CHANGED
@@ -2618,7 +2618,7 @@ async def main(message: cl.Message):
2618
  stream=True,
2619
  ):
2620
  tokens_list.append(message)
2621
- async for token in tokens_list:
2622
  if token != "":
2623
  await msg.stream_token(token)
2624
 
 
2618
  stream=True,
2619
  ):
2620
  tokens_list.append(message)
2621
+ for token in tokens_list:
2622
  if token != "":
2623
  await msg.stream_token(token)
2624