Merge pull request #658 from SafentisFox/fixLinuxLaunch

Fix webui.sh not working
This commit is contained in:
AUTOMATIC1111 2022-09-18 17:54:55 +03:00 committed by GitHub
commit cf651a5e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ python_cmd="python3"
venv_dir="venv" venv_dir="venv"
# install command for torch # install command for torch
export TORCH_COMMAND="python3 -m 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"
# Requirements file to use for stable-diffusion-webui # Requirements file to use for stable-diffusion-webui
#export REQS_FILE="" #export REQS_FILE=""

View File

@ -44,7 +44,7 @@ fi
# install command for torch # install command for torch
if [[ -z "${TORCH_COMMAND}" ]] if [[ -z "${TORCH_COMMAND}" ]]
then then
export TORCH_COMMAND="python3 -m 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"
fi fi
# Do not reinstall existing pip packages on Debian/Ubuntu # Do not reinstall existing pip packages on Debian/Ubuntu