bramw commited on
Commit
878881e
1 Parent(s): 8dbe2ab

Update edict_functions.py

Browse files
Files changed (1) hide show
  1. edict_functions.py +1 -1
edict_functions.py CHANGED
@@ -45,7 +45,7 @@ clip = clip_model.text_model
45
 
46
 
47
  # Getting our HF Auth token
48
- auth_token = os.environ.get('hf_auth')
49
  if auth_token is None:
50
  with open('hf_auth', 'r') as f:
51
  auth_token = f.readlines()[0].strip()
 
45
 
46
 
47
  # Getting our HF Auth token
48
+ auth_token = os.environ.get('auth_token')
49
  if auth_token is None:
50
  with open('hf_auth', 'r') as f:
51
  auth_token = f.readlines()[0].strip()