Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ from huggingface_hub import login, HfFolder
|
|
| 91 |
import os
|
| 92 |
|
| 93 |
# Set the token
|
| 94 |
-
token = "" # Replace "YOUR_AUTHENTICATION_TOKEN" with your actual token
|
| 95 |
|
| 96 |
# Login using the token
|
| 97 |
|
|
|
|
| 91 |
import os
|
| 92 |
|
| 93 |
# Set the token
|
| 94 |
+
token = os.getenv("HF_TOKEN") # Replace "YOUR_AUTHENTICATION_TOKEN" with your actual token
|
| 95 |
|
| 96 |
# Login using the token
|
| 97 |
|