Spaces:
Runtime error
Runtime error
Update all_models2.py
Browse files- all_models2.py +2 -1
all_models2.py
CHANGED
|
@@ -133,7 +133,8 @@ from operator import itemgetter
|
|
| 133 |
|
| 134 |
nb_models_to_load=10000
|
| 135 |
#models = find_model_list("Yntec", [], "", "last_modified", 20)
|
| 136 |
-
models , models_plus_tags = find_model_list("John6666", ["stable-diffusion-xl"], "", "last_modified", nb_models_to_load)
|
|
|
|
| 137 |
#tags_plus_models = orga_tag(clas_tags(models_plus_tags,2))
|
| 138 |
tags_plus_models = orga_tag(clas_tags(sorted(models_plus_tags, key=itemgetter(0)),2))
|
| 139 |
list_new=tag_new(models,nb_models_to_load)
|
|
|
|
| 133 |
|
| 134 |
nb_models_to_load=10000
|
| 135 |
#models = find_model_list("Yntec", [], "", "last_modified", 20)
|
| 136 |
+
#models , models_plus_tags = find_model_list("John6666", ["stable-diffusion-xl"], "", "last_modified", nb_models_to_load)
|
| 137 |
+
models , models_plus_tags = find_model_list("John6666", ["stable-diffusion-xl"], "not-for-all-audiences", "last_modified", nb_models_to_load)
|
| 138 |
#tags_plus_models = orga_tag(clas_tags(models_plus_tags,2))
|
| 139 |
tags_plus_models = orga_tag(clas_tags(sorted(models_plus_tags, key=itemgetter(0)),2))
|
| 140 |
list_new=tag_new(models,nb_models_to_load)
|