Skip to content

Commit a27830c

Browse files
committed
improvement to logging
1 parent 41e6ac1 commit a27830c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dlclibrary/dlcmodelzoo/modelzoo_download.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ def download_huggingface_model(
147147
"""
148148
net_urls = _load_model_names()
149149
if model_name not in net_urls:
150-
raise ValueError(f"`modelname` should be one of: {', '.join(net_urls)}.")
150+
raise ValueError(
151+
f"`modelname={model_name}` should be one of: {', '.join(net_urls)}."
152+
)
151153

152154
print("Loading....", model_name)
153155
urls = net_urls[model_name]

0 commit comments

Comments
 (0)