From 6d3892474f6552a0cb00f52c6b7a790e94949afc Mon Sep 17 00:00:00 2001 From: Emrul Date: Tue, 11 Mar 2025 10:56:10 +0000 Subject: [PATCH] Update on_sd_start.sh --- scripts/on_sd_start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index 204a003c..57bf15b7 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -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