abhxay03 commited on
Commit
8a4607a
·
verified ·
1 Parent(s): 3d06ead

Update gitagpt_core.py

Browse files
Files changed (1) hide show
  1. gitagpt_core.py +1 -1
gitagpt_core.py CHANGED
@@ -13,7 +13,7 @@ import os
13
  # Hugging Face Token & Login
14
  # ---------------------------
15
  # FIX: Token is now securely fetched from the environment variable (Hugging Face Secret)
16
- hf_token = os.environ.get("HF_TOKEN")
17
 
18
  if hf_token:
19
  # Login only if token is present
 
13
  # Hugging Face Token & Login
14
  # ---------------------------
15
  # FIX: Token is now securely fetched from the environment variable (Hugging Face Secret)
16
+ hf_token = os.environ.get("hf_token")
17
 
18
  if hf_token:
19
  # Login only if token is present