Spaces:
Sleeping
Sleeping
less logs
Browse files- clean_community_org.py +0 -1
clean_community_org.py
CHANGED
@@ -18,7 +18,6 @@ def garbage_collect_empty_models(token: str | None = None):
|
|
18 |
for model in api.list_models(author="mergekit-community", full=True):
|
19 |
if model.siblings and len(model.siblings) > 1:
|
20 |
# If model has files, then it's not empty
|
21 |
-
print("Skipping", model.modelId, "(not empty)")
|
22 |
continue
|
23 |
if (now - model.last_modified).total_seconds() < 3600:
|
24 |
# If model was updated in the last hour, then keep it
|
|
|
18 |
for model in api.list_models(author="mergekit-community", full=True):
|
19 |
if model.siblings and len(model.siblings) > 1:
|
20 |
# If model has files, then it's not empty
|
|
|
21 |
continue
|
22 |
if (now - model.last_modified).total_seconds() < 3600:
|
23 |
# If model was updated in the last hour, then keep it
|