Spaces:
Sleeping
Sleeping
Yarik
commited on
Commit
•
63e306e
1
Parent(s):
35337ae
Update space
Browse files- apis/chat_api.py +1 -1
apis/chat_api.py
CHANGED
@@ -67,7 +67,7 @@ class ChatAPIApp:
|
|
67 |
if credentials:
|
68 |
api_key = credentials.credentials
|
69 |
else:
|
70 |
-
api_key = os.getenv("
|
71 |
|
72 |
if api_key:
|
73 |
if api_key.startswith("hf_"):
|
|
|
67 |
if credentials:
|
68 |
api_key = credentials.credentials
|
69 |
else:
|
70 |
+
api_key = os.getenv("XCHE_TOKEN")
|
71 |
|
72 |
if api_key:
|
73 |
if api_key.startswith("hf_"):
|