Spaces:
Running
Running
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -2
apis/chat_api.py
CHANGED
@@ -23,8 +23,7 @@ class ChatAPIApp:
|
|
23 |
|
24 |
def get_available_models(self):
|
25 |
f = open('lang_name.json')
|
26 |
-
|
27 |
-
self.available_models = data
|
28 |
return self.available_models
|
29 |
|
30 |
class ChatCompletionsPostItem(BaseModel):
|
|
|
23 |
|
24 |
def get_available_models(self):
|
25 |
f = open('lang_name.json')
|
26 |
+
self.available_models = json.load(f)
|
|
|
27 |
return self.available_models
|
28 |
|
29 |
class ChatCompletionsPostItem(BaseModel):
|