Valtry commited on
Commit
03b0e50
·
verified ·
1 Parent(s): 291527d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -117,7 +117,11 @@ Assistant:"""
117
 
118
  yield token
119
 
120
- return StreamingResponse(stream(), media_type="text/plain")
 
 
 
 
121
 
122
  # -----------------------
123
  # START SERVER
 
117
 
118
  yield token
119
 
120
+ return StreamingResponse(
121
+ stream(),
122
+ media_type="text/plain",
123
+ headers={"Transfer-Encoding": "identity"}
124
+ )
125
 
126
  # -----------------------
127
  # START SERVER