Spaces:
Sleeping
Sleeping
check read tokens
Browse files- inference_resnet.py +1 -1
inference_resnet.py
CHANGED
@@ -21,7 +21,7 @@ import numpy as np
|
|
21 |
if not os.path.exists('model_classification'):
|
22 |
|
23 |
REPO_ID='Serrelab/fossil_classification_models'
|
24 |
-
token = os.
|
25 |
print('read token:',token)
|
26 |
if token is None:
|
27 |
print("warning! A read token in env variables is needed for authentication.")
|
|
|
21 |
if not os.path.exists('model_classification'):
|
22 |
|
23 |
REPO_ID='Serrelab/fossil_classification_models'
|
24 |
+
token = os.getenv('READ_TOKEN')
|
25 |
print('read token:',token)
|
26 |
if token is None:
|
27 |
print("warning! A read token in env variables is needed for authentication.")
|