vilarin commited on
Commit
1bd860a
·
verified ·
1 Parent(s): 85c3eca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ async def main(message: str, history: list, model: str, temperature: float, max_
147
  if not process:
148
  launch()
149
 
150
- response = await stream_chat(
151
  message,
152
  history,
153
  model,
 
147
  if not process:
148
  launch()
149
 
150
+ async for response in stream_chat(
151
  message,
152
  history,
153
  model,