radinhas commited on
Commit
1385800
1 Parent(s): 746ab1f

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. 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 = MODEL_MAP[item.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