diff options
author | safentisFox <safentis@csd.auth.gr> | 2022-09-18 13:55:57 +0000 |
---|---|---|
committer | safentisFox <safentis@csd.auth.gr> | 2022-09-18 13:55:57 +0000 |
commit | 7b0f402b668644164506ac92984a418e92223d3f (patch) | |
tree | 3d69fc60326bddc2cd288ae9b2cddebe78b94c38 | |
parent | e78c368eb3931ec51000d3653ec0a9538e4cadf1 (diff) | |
download | stable-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
-rw-r--r-- | webui-user.sh | 2 | ||||
-rw-r--r-- | webui.sh | 2 |
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="" @@ -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 |