Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from huggingface_hub import login
|
|
4 |
from transformers import pipeline
|
5 |
|
6 |
# Authenticate with Hugging Face Hub
|
|
|
7 |
login(HF_TOKEN)
|
8 |
|
9 |
# Load the gated model
|
|
|
4 |
from transformers import pipeline
|
5 |
|
6 |
# Authenticate with Hugging Face Hub
|
7 |
+
HF_TOKEN = os.environ['HF_TOKEN']
|
8 |
login(HF_TOKEN)
|
9 |
|
10 |
# Load the gated model
|