Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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('
|
| 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:
|