We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07c391d commit 9bdb018Copy full SHA for 9bdb018
1 file changed
dlclive/modelzoo/utils.py
@@ -9,6 +9,7 @@
9
from pathlib import Path
10
11
from dlclibrary.dlcmodelzoo.modelzoo_download import download_huggingface_model
12
+from dlclibrary.dlcmodelzoo.modelzoo_download import _load_model_names as huggingface_model_paths
13
from ruamel.yaml import YAML
14
15
from dlclive.modelzoo.resolve_config import update_config
@@ -49,10 +50,7 @@ def list_available_projects() -> list[str]:
49
50
51
52
def list_available_combinations() -> list[str]:
- models = list_available_models()
53
- projects = list_available_projects()
54
- combinations = ["_".join([p, m]) for p in projects for m in models]
55
- return combinations
+ return list(huggingface_model_paths.keys())
56
57
58
def read_config_as_dict(config_path: str | Path) -> dict:
0 commit comments