radinhas commited on
Commit
4353150
·
1 Parent(s): 1375c75

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. 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
- data = json.load(f)
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):