aboutsummaryrefslogtreecommitdiffstats
path: root/webui-user.sh
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-18 12:07:14 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-18 12:07:14 +0000
commit7476593014404314f06928ee500bc281a51de5cd (patch)
treeca2e3a1d8c662205a82ba44b879dc9763876a85b /webui-user.sh
parent9e892d90ceaa6493d8b9092c89017485bb658c5b (diff)
downloadstable-diffusion-webui-gfx803-7476593014404314f06928ee500bc281a51de5cd.tar.gz
stable-diffusion-webui-gfx803-7476593014404314f06928ee500bc281a51de5cd.tar.bz2
stable-diffusion-webui-gfx803-7476593014404314f06928ee500bc281a51de5cd.zip
change () to "" in .sh scripts because export AAA=(BBB CCC) sets AAA to BBB and does not export anything
whoever put that in .sh files - shame on you
Diffstat (limited to 'webui-user.sh')
-rw-r--r--webui-user.sh4
1 files changed, 2 insertions, 2 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=""