99i commited on
Commit
3468d44
·
verified ·
1 Parent(s): 65c1969

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ async def forward_request(
104
 
105
  if "model" in body and body["model"] in model_map:
106
  body["model"] = model_map[body["model"]]
107
- if not "stream" in body or not body['stream']
108
  is_stream=False
109
  if is_stream:
110
  async def generate_response():
 
104
 
105
  if "model" in body and body["model"] in model_map:
106
  body["model"] = model_map[body["model"]]
107
+ if not "stream" in body or not body['stream']:
108
  is_stream=False
109
  if is_stream:
110
  async def generate_response():