aboutsummaryrefslogtreecommitdiffstats
path: root/webui.sh
diff options
context:
space:
mode:
authorParityError <36368048+ParityError@users.noreply.github.com>2023-03-12 22:08:26 +0000
committerGitHub <noreply@github.com>2023-03-12 22:08:26 +0000
commit6439e72df2cd2126734ce4a69c277502c4c9982d (patch)
tree553e1cfaff481286c85153e5a929c5ae21fc9ccc /webui.sh
parentd78c4375833f063370fd40eab7b5322455c93683 (diff)
downloadstable-diffusion-webui-gfx803-6439e72df2cd2126734ce4a69c277502c4c9982d.tar.gz
stable-diffusion-webui-gfx803-6439e72df2cd2126734ce4a69c277502c4c9982d.tar.bz2
stable-diffusion-webui-gfx803-6439e72df2cd2126734ce4a69c277502c4c9982d.zip
Update webui.sh
Installation should not be assumed to be located within ~/home directory. User should be expected to install project anywhere and run the startup scripts while in stable-diffusion-webui directory. See issue #8534
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.sh b/webui.sh
index 8cdad22d..b01e4fa9 100755
--- a/webui.sh
+++ b/webui.sh
@@ -23,7 +23,7 @@ fi
# Install directory without trailing slash
if [[ -z "${install_dir}" ]]
then
- install_dir="/home/$(whoami)"
+ install_dir="($pwd)"
fi
# Name of the subdirectory (defaults to stable-diffusion-webui)