Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ from huggingface_hub import login, HfApi
|
|
24 |
|
25 |
# Authenticate using the Hugging Face token stored as a secret
|
26 |
def authenticate_hf():
|
27 |
-
token = os.getenv(
|
28 |
if not token:
|
29 |
raise ValueError("Hugging Face token not found in environment variables.")
|
30 |
|
|
|
24 |
|
25 |
# Authenticate using the Hugging Face token stored as a secret
|
26 |
def authenticate_hf():
|
27 |
+
token = os.getenv(HF)
|
28 |
if not token:
|
29 |
raise ValueError("Hugging Face token not found in environment variables.")
|
30 |
|