Update on_sd_start.sh

This commit is contained in:
Emrul 2025-03-11 12:45:00 +00:00 committed by GitHub
parent e260cdd23b
commit f78922623a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,5 @@ else
# Download the models
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ui_absolute_path=$(readlink -f "$script_dir/../ui")
export SD_UI_DIR="$ui_absolute_path"
echo "SD_UI_DIR set to $SD_UI_DIR"
PYTHONPATH="$ui_absolute_path" python -c "from easydiffusion.model_manager import init; init()"
PYTHONPATH="$ui_absolute_path" SD_UI_PATH="$ui_absolute_path" python -c "from easydiffusion.model_manager import init; init()"
fi