Update on_sd_start.sh

This commit is contained in:
Emrul 2025-03-11 10:56:10 +00:00 committed by GitHub
parent d49306df57
commit 6d3892474f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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