Harshil07 commited on
Commit
7555607
·
verified ·
1 Parent(s): 66fd774

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ import spaces
24
  # ----------------------------------------------------------------------
25
  # Auth (Space secret) -- gated checkpoint download needs this at startup.
26
  # ----------------------------------------------------------------------
27
- HF_TOKEN = os.environ.get("HF_TOKEN")
28
  if HF_TOKEN:
29
  login(token=HF_TOKEN)
30
  print("Logged in to Hugging Face using HF_TOKEN secret.")
 
24
  # ----------------------------------------------------------------------
25
  # Auth (Space secret) -- gated checkpoint download needs this at startup.
26
  # ----------------------------------------------------------------------
27
+ HF_TOKEN = os.environ.get("hf_token")
28
  if HF_TOKEN:
29
  login(token=HF_TOKEN)
30
  print("Logged in to Hugging Face using HF_TOKEN secret.")