Update app.py
Browse files
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():
|