revert changes to two bat files I asked to revert but the author couldn't in 863e9efc19
.
This commit is contained in:
parent
863e9efc19
commit
bd4f0fb9d9
2 changed files with 3 additions and 26 deletions
|
@ -12,8 +12,6 @@
|
||||||
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
|
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
|
||||||
export COMMANDLINE_ARGS=""
|
export COMMANDLINE_ARGS=""
|
||||||
|
|
||||||
#export STABLE_DIFFUSION_WEBUI_REPO="https://github.com/AUTOMATIC1111/stable-diffusion-webui.git"
|
|
||||||
|
|
||||||
# python3 executable
|
# python3 executable
|
||||||
#python_cmd="python3"
|
#python_cmd="python3"
|
||||||
|
|
||||||
|
@ -32,29 +30,13 @@ export COMMANDLINE_ARGS=""
|
||||||
# Requirements file to use for stable-diffusion-webui
|
# Requirements file to use for stable-diffusion-webui
|
||||||
#export REQS_FILE="requirements_versions.txt"
|
#export REQS_FILE="requirements_versions.txt"
|
||||||
|
|
||||||
# Fixed git-based pip packages
|
|
||||||
# Example: "git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379"
|
|
||||||
#export K_DIFFUSION_PACKAGE=""
|
|
||||||
|
|
||||||
#export GFPGAN_PACKAGE=""
|
|
||||||
#export DEEPDANBOORU_PACKAGE=""
|
|
||||||
#export CLIP_PACKAGE=""
|
|
||||||
|
|
||||||
#export XFORMERS_WINDOWS_PACKAGE=""
|
|
||||||
|
|
||||||
# Fixed git repos
|
# Fixed git repos
|
||||||
# Example: "https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/c/xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl"
|
#export K_DIFFUSION_PACKAGE=""
|
||||||
#export STABLE_DIFFUSION_REPO=""
|
#export GFPGAN_PACKAGE=""
|
||||||
#export TAMING_REANSFORMERS_REPO=""
|
|
||||||
#export K_DIFFUSION_REPO=""
|
|
||||||
#export CODEFORMET_REPO=""
|
|
||||||
#export BLIP_REPO=""
|
|
||||||
|
|
||||||
# Fixed git commits
|
# Fixed git commits
|
||||||
# Example: "69ae4b35e0a0f6ee1af8bb9a5d0016ccb27e36dc"
|
|
||||||
#export STABLE_DIFFUSION_COMMIT_HASH=""
|
#export STABLE_DIFFUSION_COMMIT_HASH=""
|
||||||
#export TAMING_TRANSFORMERS_COMMIT_HASH=""
|
#export TAMING_TRANSFORMERS_COMMIT_HASH=""
|
||||||
#export K_DIFFUSION_COMMIT_HASH=""
|
|
||||||
#export CODEFORMER_COMMIT_HASH=""
|
#export CODEFORMER_COMMIT_HASH=""
|
||||||
#export BLIP_COMMIT_HASH=""
|
#export BLIP_COMMIT_HASH=""
|
||||||
|
|
||||||
|
|
7
webui.sh
7
webui.sh
|
@ -41,11 +41,6 @@ then
|
||||||
venv_dir="venv"
|
venv_dir="venv"
|
||||||
fi
|
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}" ]]
|
if [[ -z "${LAUNCH_SCRIPT}" ]]
|
||||||
then
|
then
|
||||||
LAUNCH_SCRIPT="launch.py"
|
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; }
|
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
|
"${GIT}" pull
|
||||||
else
|
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; }
|
cd "${clone_dir}"/ || { printf "\e[1m\e[31mERROR: Can't cd to %s/%s/, aborting...\e[0m" "${install_dir}" "${clone_dir}"; exit 1; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue