aboutsummaryrefslogtreecommitdiffstats
path: root/webui.sh
diff options
context:
space:
mode:
authorsafentisFox <safentis@csd.auth.gr>2022-09-18 13:55:57 +0000
committersafentisFox <safentis@csd.auth.gr>2022-09-18 13:55:57 +0000
commit7b0f402b668644164506ac92984a418e92223d3f (patch)
tree3d69fc60326bddc2cd288ae9b2cddebe78b94c38 /webui.sh
parente78c368eb3931ec51000d3653ec0a9538e4cadf1 (diff)
downloadstable-diffusion-webui-gfx803-7b0f402b668644164506ac92984a418e92223d3f.tar.gz
stable-diffusion-webui-gfx803-7b0f402b668644164506ac92984a418e92223d3f.tar.bz2
stable-diffusion-webui-gfx803-7b0f402b668644164506ac92984a418e92223d3f.zip
Fix bad bad torch command variable
Diffstat (limited to 'webui.sh')
-rw-r--r--webui.sh2
1 files changed, 1 insertions, 1 deletions
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