Skip to content

Commit 8badee3

Browse files
update exception msg
1 parent 6abad1e commit 8badee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/model/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def register(
788788
break
789789
if i == retry:
790790
raise Exception(
791-
"Could not download the model {model_name} from https://huggingface.co with message {huggingface_download}"
791+
f"Could not download the model {model_name} from https://huggingface.co with message {huggingface_download_err_message}"
792792
)
793793
os.makedirs(local_dir, exist_ok=True)
794794
# Copy the model from the cache to destination

0 commit comments

Comments
 (0)