Spaces:
Runtime error
Runtime error
Update src/tools/collections.py
Browse files- src/tools/collections.py +1 -1
src/tools/collections.py
CHANGED
|
@@ -77,7 +77,7 @@ def update_collections(df: DataFrame):
|
|
| 77 |
if item.item_id not in cur_best_models:
|
| 78 |
try:
|
| 79 |
delete_collection_item(
|
| 80 |
-
collection_slug=PATH_TO_COLLECTION, item_object_id=item.item_object_id, token=
|
| 81 |
)
|
| 82 |
except HfHubHTTPError:
|
| 83 |
continue
|
|
|
|
| 77 |
if item.item_id not in cur_best_models:
|
| 78 |
try:
|
| 79 |
delete_collection_item(
|
| 80 |
+
collection_slug=PATH_TO_COLLECTION, item_object_id=item.item_object_id, token=HF_TOKEN
|
| 81 |
)
|
| 82 |
except HfHubHTTPError:
|
| 83 |
continue
|