From 7b0f402b668644164506ac92984a418e92223d3f Mon Sep 17 00:00:00 2001 From: safentisFox Date: Sun, 18 Sep 2022 16:55:57 +0300 Subject: Fix bad bad torch command variable --- webui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webui.sh') 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 -- cgit v1.2.3