aboutsummaryrefslogtreecommitdiffstats
path: root/webui.sh
diff options
context:
space:
mode:
authorAndrew Savchyn <dev@scorpil.com>2022-09-30 09:44:08 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-30 09:59:47 +0000
commitd18daafb8b0b0b7c5f8dc179de7cc0717465297b (patch)
tree805cf31722a2bfbebe108d46fbfe0eff7bd6a87c /webui.sh
parentfcfe2e9ffd9b9ee8af63926a002602503f1ad71a (diff)
downloadstable-diffusion-webui-gfx803-d18daafb8b0b0b7c5f8dc179de7cc0717465297b.tar.gz
stable-diffusion-webui-gfx803-d18daafb8b0b0b7c5f8dc179de7cc0717465297b.tar.bz2
stable-diffusion-webui-gfx803-d18daafb8b0b0b7c5f8dc179de7cc0717465297b.zip
Uppercase for env var LAUNCH_SCRIPT
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/webui.sh b/webui.sh
index 6e27a4a6..05ca497d 100755
--- a/webui.sh
+++ b/webui.sh
@@ -41,9 +41,9 @@ then
venv_dir="venv"
fi
-if [[ -z "${launch_script}" ]]
+if [[ -z "${LAUNCH_SCRIPT}" ]]
then
- launch_script="launch.py"
+ LAUNCH_SCRIPT="launch.py"
fi
# Disable sentry logging
@@ -138,4 +138,4 @@ fi
printf "\n%s\n" "${delimiter}"
printf "Launching launch.py..."
printf "\n%s\n" "${delimiter}"
-"${python_cmd}" "${launch_script}"
+"${python_cmd}" "${LAUNCH_SCRIPT}"