100stacks commited on
Commit
88bf563
·
unverified ·
1 Parent(s): 0f73f53
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ async def main(message: cl.Message):
67
  msg = cl.Message(content="")
68
 
69
  # Call OpenAI
70
- async for steam_resp in await client.chat.completions.create(
71
  messages=[m.to_openai() for m in prompt.messages], stream=True, **settings
72
  ):
73
  token = stream_resp.choices[0].delta.content
 
67
  msg = cl.Message(content="")
68
 
69
  # Call OpenAI
70
+ async for stream_resp in await client.chat.completions.create(
71
  messages=[m.to_openai() for m in prompt.messages], stream=True, **settings
72
  ):
73
  token = stream_resp.choices[0].delta.content