From a7abc554cfee99f7de4eb508c34f8abbe4cdd663 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:27:07 +0530 Subject: [PATCH] utilise command generated in preprocess in batch file --- script/get-ml-model-huggingface-zoo/run.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/get-ml-model-huggingface-zoo/run.bat b/script/get-ml-model-huggingface-zoo/run.bat index 27155cb427..a87b0e6e99 100644 --- a/script/get-ml-model-huggingface-zoo/run.bat +++ b/script/get-ml-model-huggingface-zoo/run.bat @@ -1,2 +1,3 @@ -%CM_PYTHON_BIN_WITH_PATH% %CM_TMP_CURRENT_SCRIPT_PATH%\download_model.py -IF %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL% +echo %CM_RUN_CMD% +call %CM_RUN_CMD% +if errorlevel 1 exit /b %errorlevel%