Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ from transformers import (
|
|
18 |
# ================================
|
19 |
|
20 |
# Get HF token securely from environment variables
|
21 |
-
HF_TOKEN = os.getenv("
|
22 |
|
23 |
if HF_TOKEN is None:
|
24 |
raise ValueError("❌ Hugging Face API token not found. Please set it in Secrets.")
|
|
|
18 |
# ================================
|
19 |
|
20 |
# Get HF token securely from environment variables
|
21 |
+
HF_TOKEN = os.getenv("hf_token")
|
22 |
|
23 |
if HF_TOKEN is None:
|
24 |
raise ValueError("❌ Hugging Face API token not found. Please set it in Secrets.")
|