We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e6ac1 commit a27830cCopy full SHA for a27830c
dlclibrary/dlcmodelzoo/modelzoo_download.py
@@ -147,7 +147,9 @@ def download_huggingface_model(
147
"""
148
net_urls = _load_model_names()
149
if model_name not in net_urls:
150
- raise ValueError(f"`modelname` should be one of: {', '.join(net_urls)}.")
+ raise ValueError(
151
+ f"`modelname={model_name}` should be one of: {', '.join(net_urls)}."
152
+ )
153
154
print("Loading....", model_name)
155
urls = net_urls[model_name]
0 commit comments