mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-21 02:54:14 +02:00
Update on_sd_start.sh
This commit is contained in:
@@ -63,5 +63,6 @@ else
|
|||||||
python scripts/check_modules.py
|
python scripts/check_modules.py
|
||||||
# Download the models
|
# Download the models
|
||||||
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
PYTHONPATH="$script_dir/../ui" python -c "from easydiffusion.model_manager import init; init()"
|
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()"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user