diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 51668fbd..f9113d81 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -70,6 +70,8 @@ echo PYTHONPATH=%PYTHONPATH% call where python call python --version +call python -m pip install -q torchruntime + call python scripts\check_modules.py --launch-uvicorn pause exit /b diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index fbd39f8c..e491ad2d 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -46,6 +46,8 @@ fi if [ -e "src" ]; then mv src src-old; fi if [ -e "ldm" ]; then mv ldm ldm-old; fi +python -m pip install -q torchruntime + cd .. # Download the required packages python scripts/check_modules.py --launch-uvicorn