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:10:44 -07:00 committed by GitHub
parent 6439e72df2
commit 5c051c0618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ fi
# Install directory without trailing slash
if [[ -z "${install_dir}" ]]
then
install_dir="($pwd)"
install_dir="$(pwd)"
fi
# Name of the subdirectory (defaults to stable-diffusion-webui)