Spaces:
Sleeping
Sleeping
correct autofill
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
# Retrieve the Hugging Face API token from environment variables
|
| 7 |
hf_token = os.getenv("HF_TOKEN")
|
| 8 |
|
| 9 |
-
if not
|
| 10 |
raise ValueError("API token is not set. Please set the HF_TOKEN environment variable in Space Settings.")
|
| 11 |
|
| 12 |
"""
|
|
|
|
| 6 |
# Retrieve the Hugging Face API token from environment variables
|
| 7 |
hf_token = os.getenv("HF_TOKEN")
|
| 8 |
|
| 9 |
+
if not hf_token:
|
| 10 |
raise ValueError("API token is not set. Please set the HF_TOKEN environment variable in Space Settings.")
|
| 11 |
|
| 12 |
"""
|