Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import login
|
|
| 4 |
import os
|
| 5 |
|
| 6 |
# 🚨 Replace this with your actual Hugging Face access token
|
| 7 |
-
HF_TOKEN = "
|
| 8 |
|
| 9 |
# Login to Hugging Face Hub
|
| 10 |
login(HF_TOKEN)
|
|
|
|
| 4 |
import os
|
| 5 |
|
| 6 |
# 🚨 Replace this with your actual Hugging Face access token
|
| 7 |
+
HF_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")# <-- Insert your token here securely
|
| 8 |
|
| 9 |
# Login to Hugging Face Hub
|
| 10 |
login(HF_TOKEN)
|