Spaces:
Running
Running
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -1
apis/chat_api.py
CHANGED
|
@@ -22,7 +22,7 @@ class ChatAPIApp:
|
|
| 22 |
self.setup_routes()
|
| 23 |
|
| 24 |
def get_available_models(self):
|
| 25 |
-
f = open('lang_name.json', "r")
|
| 26 |
self.available_models = json.loads(f.read())
|
| 27 |
return self.available_models
|
| 28 |
|
|
|
|
| 22 |
self.setup_routes()
|
| 23 |
|
| 24 |
def get_available_models(self):
|
| 25 |
+
f = open('apis/lang_name.json', "r")
|
| 26 |
self.available_models = json.loads(f.read())
|
| 27 |
return self.available_models
|
| 28 |
|