Spaces:
Running
Running
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -1
apis/chat_api.py
CHANGED
@@ -170,7 +170,7 @@ class ChatAPIApp:
|
|
170 |
"default": "t5-base",
|
171 |
}
|
172 |
if item.model in MODEL_MAP.keys():
|
173 |
-
target_model =
|
174 |
else:
|
175 |
target_model = "default"
|
176 |
|
|
|
170 |
"default": "t5-base",
|
171 |
}
|
172 |
if item.model in MODEL_MAP.keys():
|
173 |
+
target_model = item.model
|
174 |
else:
|
175 |
target_model = "default"
|
176 |
|