Spaces:
Running
Running
Commit
·
ef2dc06
1
Parent(s):
756edf1
drop sha specification
Browse files- src/backend.py +1 -1
src/backend.py
CHANGED
@@ -142,7 +142,7 @@ def _backend_routine():
|
|
142 |
pending_models = list(set(rl_models) - set(evaluated_models))
|
143 |
pending_and_compatible_models = []
|
144 |
for repo_id, sha in pending_models:
|
145 |
-
filenames = [sib.rfilename for sib in API.model_info(repo_id, revision=
|
146 |
if "agent.pt" in filenames:
|
147 |
pending_and_compatible_models.append((repo_id, sha))
|
148 |
|
|
|
142 |
pending_models = list(set(rl_models) - set(evaluated_models))
|
143 |
pending_and_compatible_models = []
|
144 |
for repo_id, sha in pending_models:
|
145 |
+
filenames = [sib.rfilename for sib in API.model_info(repo_id, revision="main").siblings]
|
146 |
if "agent.pt" in filenames:
|
147 |
pending_and_compatible_models.append((repo_id, sha))
|
148 |
|