mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Uppercase for env var LAUNCH_SCRIPT
This commit is contained in:
parent
fcfe2e9ffd
commit
d18daafb8b
@ -22,7 +22,7 @@ export COMMANDLINE_ARGS=""
|
|||||||
#venv_dir="venv"
|
#venv_dir="venv"
|
||||||
|
|
||||||
# script to launch to start the app
|
# script to launch to start the app
|
||||||
#export launch_script="launch.py"
|
#export LAUNCH_SCRIPT="launch.py"
|
||||||
|
|
||||||
# install command for torch
|
# install command for torch
|
||||||
#export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
|
#export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
|
||||||
|
6
webui.sh
6
webui.sh
@ -41,9 +41,9 @@ then
|
|||||||
venv_dir="venv"
|
venv_dir="venv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${launch_script}" ]]
|
if [[ -z "${LAUNCH_SCRIPT}" ]]
|
||||||
then
|
then
|
||||||
launch_script="launch.py"
|
LAUNCH_SCRIPT="launch.py"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable sentry logging
|
# Disable sentry logging
|
||||||
@ -138,4 +138,4 @@ fi
|
|||||||
printf "\n%s\n" "${delimiter}"
|
printf "\n%s\n" "${delimiter}"
|
||||||
printf "Launching launch.py..."
|
printf "Launching launch.py..."
|
||||||
printf "\n%s\n" "${delimiter}"
|
printf "\n%s\n" "${delimiter}"
|
||||||
"${python_cmd}" "${launch_script}"
|
"${python_cmd}" "${LAUNCH_SCRIPT}"
|
||||||
|
Loading…
Reference in New Issue
Block a user