Spaces:
Running
Running
Update all_models2.py
Browse files- all_models2.py +4 -1
all_models2.py
CHANGED
@@ -21,10 +21,13 @@ def find_model_list(author: str="", tags: list[str]=[], not_tag="", sort: str="l
|
|
21 |
print(f"Error: Failed to list models.")
|
22 |
print(e)
|
23 |
return models
|
24 |
-
|
25 |
for model in model_infos:
|
26 |
|
27 |
if not model.private and not model.gated:
|
|
|
|
|
|
|
28 |
loadable = True
|
29 |
if not_tag and not_tag in model.tags or not loadable: continue
|
30 |
if model.id not in bad_models :
|
|
|
21 |
print(f"Error: Failed to list models.")
|
22 |
print(e)
|
23 |
return models
|
24 |
+
t1=true
|
25 |
for model in model_infos:
|
26 |
|
27 |
if not model.private and not model.gated:
|
28 |
+
if t1:
|
29 |
+
print(model)
|
30 |
+
t1=False
|
31 |
loadable = True
|
32 |
if not_tag and not_tag in model.tags or not loadable: continue
|
33 |
if model.id not in bad_models :
|