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 d36bde1 commit c70e3b9Copy full SHA for c70e3b9
1 file changed
core.py
@@ -590,8 +590,10 @@ def run_tensorboard_script():
590
591
# Download
592
def run_download_script(model_link: str):
593
- model_download_pipeline(model_link)
594
- return f"Model downloaded successfully."
+ result = model_download_pipeline(model_link)
+ if result == "Error" or result is None:
595
+ return "An error occurred downloading the model. Check the console for details."
596
+ return "Model downloaded successfully."
597
598
599
# Prerequisites
0 commit comments