Artin2009 commited on
Commit
99aa8b5
1 Parent(s): 8e26cc9

Update chain_app.py

Browse files
Files changed (1) hide show
  1. chain_app.py +1 -1
chain_app.py CHANGED
@@ -2073,7 +2073,7 @@ async def main(message: cl.Message):
2073
  stream=True
2074
  )
2075
 
2076
- async for part in stream:
2077
  if token := part.choices[0].delta.content or "":
2078
  await msg.stream_token(token)
2079
 
 
2073
  stream=True
2074
  )
2075
 
2076
+ for part in stream:
2077
  if token := part.choices[0].delta.content or "":
2078
  await msg.stream_token(token)
2079