duatanzeel commited on
Commit
1754784
·
verified ·
1 Parent(s): 83aa14b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "your_huggingface_access_token_here" # <-- Insert your token here securely
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)