aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webui-user.sh4
-rw-r--r--webui.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/webui-user.sh b/webui-user.sh
index b7a1b607..8c29ffe1 100644
--- a/webui-user.sh
+++ b/webui-user.sh
@@ -10,7 +10,7 @@ install_dir="/home/$(whoami)"
clone_dir="stable-diffusion-webui"
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS=(--medvram --opt-split-attention)
-export COMMANDLINE_ARGS=()
+export COMMANDLINE_ARGS=""
# python3 executable
python_cmd="python3"
@@ -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="python3 -m 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 0f9fdbef..3b2e8c3d 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="python3 -m 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