Raiff1982 commited on
Commit
dbdd5d3
·
verified ·
1 Parent(s): 2983d6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,4 +168,4 @@ async def chat(request: Request):
168
  await asyncio.sleep(0)
169
  yield json.dumps({"message": {"role": "assistant", "content": ""}, "done": True}) + "\n"
170
 
171
- return StreamingResponse(event_stream(), media_type="application/x-ndjson", headers={"X-Accel-Buffering": "no"})
 
168
  await asyncio.sleep(0)
169
  yield json.dumps({"message": {"role": "assistant", "content": ""}, "done": True}) + "\n"
170
 
171
+ return StreamingResponse(event_stream(), media_type="application/x-ndjson", headers={"X-Accel-Buffering": "no"})