Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -208,8 +208,8 @@ if (runModel=='1'):
|
|
| 208 |
repo_name = "Reyad-Ahmmed/hf-data-timeframe"
|
| 209 |
|
| 210 |
# Your repository name
|
| 211 |
-
api_token = os.getenv("
|
| 212 |
-
|
| 213 |
if not api_token:
|
| 214 |
raise ValueError("API token not found. Please set the HF_API_TOKEN environment variable.")
|
| 215 |
|
|
|
|
| 208 |
repo_name = "Reyad-Ahmmed/hf-data-timeframe"
|
| 209 |
|
| 210 |
# Your repository name
|
| 211 |
+
api_token = os.getenv("hf_token") # Retrieve the API token from environment variable
|
| 212 |
+
|
| 213 |
if not api_token:
|
| 214 |
raise ValueError("API token not found. Please set the HF_API_TOKEN environment variable.")
|
| 215 |
|