mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-09 13:49:48 +00:00
revert changes to two bat files I asked to revert but the author couldn't in 863e9efc19
.
This commit is contained in:
7
webui.sh
7
webui.sh
@@ -41,11 +41,6 @@ then
|
||||
venv_dir="venv"
|
||||
fi
|
||||
|
||||
if [[ -z "${STABLE_DIFFUSION_WEBUI_REPO}" ]]
|
||||
then
|
||||
STABLE_DIFFUSION_WEBUI_REPO="https://github.com/AUTOMATIC1111/stable-diffusion-webui.git"
|
||||
fi
|
||||
|
||||
if [[ -z "${LAUNCH_SCRIPT}" ]]
|
||||
then
|
||||
LAUNCH_SCRIPT="launch.py"
|
||||
@@ -116,7 +111,7 @@ then
|
||||
cd "${clone_dir}"/ || { printf "\e[1m\e[31mERROR: Can't cd to %s/%s/, aborting...\e[0m" "${install_dir}" "${clone_dir}"; exit 1; }
|
||||
"${GIT}" pull
|
||||
else
|
||||
"${GIT}" clone "${STABLE_DIFFUSION_WEBUI_REPO}" "${clone_dir}"
|
||||
"${GIT}" clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git "${clone_dir}"
|
||||
cd "${clone_dir}"/ || { printf "\e[1m\e[31mERROR: Can't cd to %s/%s/, aborting...\e[0m" "${install_dir}" "${clone_dir}"; exit 1; }
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user