mateoluksenberg commited on
Commit
606bcfd
·
verified ·
1 Parent(s): b417816

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -300,7 +300,7 @@ def simple_chat(message: dict, temperature: float = 0.8, max_length: int = 4096,
300
  print("--------------")
301
 
302
 
303
- return StreamingResponse(new_text), media_type="text/plain")
304
 
305
  except Exception as e:
306
  return PlainTextResponse(f"Error: {str(e)}")
 
300
  print("--------------")
301
 
302
 
303
+ return StreamingResponse(new_text, media_type="text/plain")
304
 
305
  except Exception as e:
306
  return PlainTextResponse(f"Error: {str(e)}")