Spaces:
Sleeping
Sleeping
Merge branch 'debug'
Browse files
app.py
CHANGED
@@ -7,6 +7,10 @@ def get_collection_models(collection_name: str) -> List[str]:
|
|
7 |
"""Get a list of models from a specific Hugging Face collection."""
|
8 |
models = list_models(author="de-Rodrigo",
|
9 |
filter=f"collections:{collection_name}")
|
|
|
|
|
|
|
|
|
10 |
model_names = [model.modelId for model in models]
|
11 |
return model_names
|
12 |
|
|
|
7 |
"""Get a list of models from a specific Hugging Face collection."""
|
8 |
models = list_models(author="de-Rodrigo",
|
9 |
filter=f"collections:{collection_name}")
|
10 |
+
models_nofilter = list_models(author="de-Rodrigo")
|
11 |
+
print("")
|
12 |
+
print(models_nofilter)
|
13 |
+
print("")
|
14 |
model_names = [model.modelId for model in models]
|
15 |
return model_names
|
16 |
|