aboutsummaryrefslogtreecommitdiffstats
path: root/webui-macos-env.sh
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-12-04 13:29:45 +0000
committerbrkirch <brkirch@users.noreply.github.com>2022-12-07 00:49:30 +0000
commita7b1ab28d562ef8a020be0129cbc4c521569cd24 (patch)
tree5bbf9b41acfa303edc436303c9ffe712fc55509c /webui-macos-env.sh
parent760a7836eb1f8645b7c32df82085383e1859c74d (diff)
downloadstable-diffusion-webui-gfx803-a7b1ab28d562ef8a020be0129cbc4c521569cd24.tar.gz
stable-diffusion-webui-gfx803-a7b1ab28d562ef8a020be0129cbc4c521569cd24.tar.bz2
stable-diffusion-webui-gfx803-a7b1ab28d562ef8a020be0129cbc4c521569cd24.zip
Set install_dir (per Ephil012's suggestion)
Set install_dir to a correct value for macOS. Thanks to @Ephil012 for pointing out this is needed.
Diffstat (limited to 'webui-macos-env.sh')
-rw-r--r--webui-macos-env.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/webui-macos-env.sh b/webui-macos-env.sh
index 21ca1dfd..95ca9c55 100644
--- a/webui-macos-env.sh
+++ b/webui-macos-env.sh
@@ -9,6 +9,7 @@ then
python_cmd="python3.10"
fi
+export install_dir="$HOME"
export COMMANDLINE_ARGS="--skip-torch-cuda-test --no-half --use-cpu interrogate"
export TORCH_COMMAND="pip install torch==1.12.1 torchvision==0.13.1"
export K_DIFFUSION_REPO="https://github.com/brkirch/k-diffusion.git"