anant-ai commited on
Commit
52e1102
·
verified ·
1 Parent(s): a78c844

Update hf_client.py

Browse files
Files changed (1) hide show
  1. hf_client.py +1 -1
hf_client.py CHANGED
@@ -12,7 +12,7 @@ logging.disable(logging.CRITICAL)
12
 
13
  HF_TOKEN = os.getenv("HF_TOKEN", None)
14
  if HF_TOKEN:
15
- login(token=HF_TOKEN, add_to_git_credential=False, write_permission=False)
16
 
17
  HIDE_MODEL_ERRORS = os.getenv("HIDE_MODEL_ERRORS", "true").lower() in (
18
  "1", "true", "yes", "y",
 
12
 
13
  HF_TOKEN = os.getenv("HF_TOKEN", None)
14
  if HF_TOKEN:
15
+ login(token=HF_TOKEN, add_to_git_credential=False)
16
 
17
  HIDE_MODEL_ERRORS = os.getenv("HIDE_MODEL_ERRORS", "true").lower() in (
18
  "1", "true", "yes", "y",