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
This commit is contained in:
ParityError
2023-03-12 15:08:26 -07:00
committed by GitHub
parent d78c437583
commit 6439e72df2

View File

@@ -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)