AshBlanc commited on
Commit
2f8bcd3
·
verified ·
1 Parent(s): 7646977

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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