diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index bff4c4fd..957801b4 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -72,7 +72,7 @@ call where python call python --version @rem this is outside check_modules.py to ensure that the required version of torchruntime is present -call python -m pip install -q torchruntime>=1.15.1 +call python -m pip install -q "torchruntime>=1.15.1" call python scripts\check_modules.py --launch-uvicorn pause diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index ef44f93f..7d756b10 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -51,7 +51,7 @@ if [ -e "src" ]; then mv src src-old; fi if [ -e "ldm" ]; then mv ldm ldm-old; fi # this is outside check_modules.py to ensure that the required version of torchruntime is present -python -m pip install -q torchruntime>=1.15.1 +python -m pip install -q "torchruntime>=1.15.1" cd .. # Download the required packages