Artin2009 commited on
Commit
8ea287e
·
verified ·
1 Parent(s): f53d630

Update chain_app.py

Browse files
Files changed (1) hide show
  1. chain_app.py +2 -2
chain_app.py CHANGED
@@ -2616,8 +2616,8 @@ async def main(message: cl.Message):
2616
  max_tokens=500,
2617
  stream=True,
2618
  ):
2619
- if token := part.choices[0].delta.content or "":
2620
- await msg.stream_token(token)
2621
 
2622
 
2623
  # elif chat_profile == 'Toka-353M':
 
2616
  max_tokens=500,
2617
  stream=True,
2618
  ):
2619
+ if message := part.choices[0].delta.content or "":
2620
+ await msg.stream_token(message)
2621
 
2622
 
2623
  # elif chat_profile == 'Toka-353M':