aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-09-18 14:54:55 +0000
committerGitHub <noreply@github.com>2022-09-18 14:54:55 +0000
commitcf651a5e23ad11b961f5e72b4999cf8633bbdf68 (patch)
treeed8e4f5013566bbe347a711ef21623de285f1f81
parent50c8d808c022c0b9e33f6ed9604fb0475b391934 (diff)
parent7b0f402b668644164506ac92984a418e92223d3f (diff)
downloadstable-diffusion-webui-gfx803-cf651a5e23ad11b961f5e72b4999cf8633bbdf68.tar.gz
stable-diffusion-webui-gfx803-cf651a5e23ad11b961f5e72b4999cf8633bbdf68.tar.bz2
stable-diffusion-webui-gfx803-cf651a5e23ad11b961f5e72b4999cf8633bbdf68.zip
Merge pull request #658 from SafentisFox/fixLinuxLaunch
Fix webui.sh not working
-rw-r--r--webui-user.sh2
-rw-r--r--webui.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/webui-user.sh b/webui-user.sh
index 8c29ffe1..20f05b69 100644
--- a/webui-user.sh
+++ b/webui-user.sh
@@ -22,7 +22,7 @@ python_cmd="python3"
venv_dir="venv"
# 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
#export REQS_FILE=""
diff --git a/webui.sh b/webui.sh
index 3b2e8c3d..cb00f832 100644
--- a/webui.sh
+++ b/webui.sh
@@ -44,7 +44,7 @@ fi
# install command for torch
if [[ -z "${TORCH_COMMAND}" ]]
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
# Do not reinstall existing pip packages on Debian/Ubuntu