Rooni commited on
Commit
8999560
·
1 Parent(s): 528ec65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def respond(message, history):
9
  if len(message.strip()) == 0:
10
  return "ERROR the question should not be empty"
11
 
12
- local_token = os.getenv('API_TOKEN')
13
  local_endpoint = os.getenv('API_ENDPOINT')
14
 
15
  if local_token is None or local_endpoint is None:
 
9
  if len(message.strip()) == 0:
10
  return "ERROR the question should not be empty"
11
 
12
+ local_token = os.getenv('API_KEY')
13
  local_endpoint = os.getenv('API_ENDPOINT')
14
 
15
  if local_token is None or local_endpoint is None: