Spaces:
Sleeping
Sleeping
Andre
commited on
Commit
·
7eca584
1
Parent(s):
ac7f0fa
“Update”
Browse files- config/config.py +1 -1
config/config.py
CHANGED
@@ -8,7 +8,7 @@ api_token = os.getenv("HF_CTB_TOKEN")
|
|
8 |
|
9 |
# Debugging: Check if the Hugging Face token is available
|
10 |
if not api_token:
|
11 |
-
print("
|
12 |
else:
|
13 |
print("Hugging Face token loaded successfully.")
|
14 |
|
|
|
8 |
|
9 |
# Debugging: Check if the Hugging Face token is available
|
10 |
if not api_token:
|
11 |
+
print("ERRORupdated: Hugging Face token (HF_CTB_TOKEN) is missing. Please set it as an environment variable or in Colab secrets.")
|
12 |
else:
|
13 |
print("Hugging Face token loaded successfully.")
|
14 |
|