tosanoob commited on
Commit
183dedf
1 Parent(s): 25c352b

Update chat/model_manage.py

Browse files
Files changed (1) hide show
  1. chat/model_manage.py +1 -1
chat/model_manage.py CHANGED
@@ -100,7 +100,7 @@ tools = [search_for_relevant_article, search_for_specific_article, answer_others
100
  tools_name = ['search_for_relevant_article', 'search_for_specific_article', 'answer_others_questions']
101
 
102
  # load key, prepare config ------------------------
103
- if os.path.exist('apikey.txt'):
104
  with open("apikey.txt","r") as apikey:
105
  key = apikey.readline()
106
  else:
 
100
  tools_name = ['search_for_relevant_article', 'search_for_specific_article', 'answer_others_questions']
101
 
102
  # load key, prepare config ------------------------
103
+ if os.path.exists('apikey.txt'):
104
  with open("apikey.txt","r") as apikey:
105
  key = apikey.readline()
106
  else: