Spaces:
Runtime error
Runtime error
Update src/tools/collections.py
Browse files- src/tools/collections.py +1 -1
src/tools/collections.py
CHANGED
@@ -72,7 +72,7 @@ def update_collections(df: DataFrame):
|
|
72 |
except HfHubHTTPError:
|
73 |
continue
|
74 |
|
75 |
-
collection = get_collection(PATH_TO_COLLECTION, token=
|
76 |
for item in collection.items:
|
77 |
if item.item_id not in cur_best_models:
|
78 |
try:
|
|
|
72 |
except HfHubHTTPError:
|
73 |
continue
|
74 |
|
75 |
+
collection = get_collection(PATH_TO_COLLECTION, token=HF_TOKEN)
|
76 |
for item in collection.items:
|
77 |
if item.item_id not in cur_best_models:
|
78 |
try:
|