Spaces:
Runtime error
Runtime error
Update all_models2.py
Browse files- all_models2.py +1 -0
all_models2.py
CHANGED
|
@@ -132,6 +132,7 @@ def update_tag(models_plus_tags,list_new_tag):
|
|
| 132 |
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 |
models , models_plus_tags = find_model_list("John6666", ["stable-diffusion-xl"], "not-for-all-audiences", "last_modified", nb_models_to_load)
|
|
|
|
| 132 |
from operator import itemgetter
|
| 133 |
|
| 134 |
nb_models_to_load=10000
|
| 135 |
+
nb_models_to_load=50
|
| 136 |
#models = find_model_list("Yntec", [], "", "last_modified", 20)
|
| 137 |
#models , models_plus_tags = find_model_list("John6666", ["stable-diffusion-xl"], "", "last_modified", nb_models_to_load)
|
| 138 |
models , models_plus_tags = find_model_list("John6666", ["stable-diffusion-xl"], "not-for-all-audiences", "last_modified", nb_models_to_load)
|