Skip to content

Commit

Permalink
Fix bad bad torch command variable
Browse files Browse the repository at this point in the history
  • Loading branch information
SafentisFox committed Sep 18, 2022
1 parent e78c368 commit 7b0f402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webui-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down
2 changes: 1 addition & 1 deletion webui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b0f402

Please sign in to comment.