Spaces:
Runtime error
Runtime error
Update edict_functions.py
Browse files- 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('
|
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()
|