mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 09:57:49 +02:00
Update on_sd_start.sh
This commit is contained in:
parent
5b5e312336
commit
d49306df57
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user