tahirsher commited on
Commit
9b5528f
·
verified ·
1 Parent(s): 551152e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ from transformers import (
18
  # ================================
19
 
20
  # Get HF token securely from environment variables
21
- HF_TOKEN = os.getenv("HF_TOKEN")
22
 
23
  if HF_TOKEN is None:
24
  raise ValueError("❌ Hugging Face API token not found. Please set it in Secrets.")
 
18
  # ================================
19
 
20
  # Get HF token securely from environment variables
21
+ HF_TOKEN = os.getenv("hf_token")
22
 
23
  if HF_TOKEN is None:
24
  raise ValueError("❌ Hugging Face API token not found. Please set it in Secrets.")