Update on_sd_start.sh

This commit is contained in:
Emrul 2025-03-07 14:05:01 +00:00 committed by GitHub
parent 9e2f1ad482
commit a417ebac5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,11 +48,13 @@ if [ -e "ldm" ]; then mv ldm ldm-old; fi
python -m pip install -q torchruntime
cd ..
# Skip the package download and prompt if INSTALL_ONLY=1 is set
if [ "$INSTALL_ONLY" != "1" ]; then
cd ..
# Download the required packages
python scripts/check_modules.py
else
# Download the required packages
python scripts/check_modules.py --launch-uvicorn
read -p "Press any key to continue"
fi