Merge pull request #9677 from weidongkl/master

fix install_dir error
This commit is contained in:
AUTOMATIC1111 2023-04-29 12:53:11 +03:00 committed by GitHub
commit 1dc21d7950
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 # Install directory without trailing slash
if [[ -z "${install_dir}" ]] if [[ -z "${install_dir}" ]]
then then
install_dir="/home/$(whoami)" install_dir="${HOME}"
fi fi
# Name of the subdirectory (defaults to stable-diffusion-webui) # Name of the subdirectory (defaults to stable-diffusion-webui)