From d78c4375833f063370fd40eab7b5322455c93683 Mon Sep 17 00:00:00 2001 From: ParityError Date: Sun, 12 Mar 2023 12:41:27 -0700 Subject: [PATCH 1/5] Update webui-user.sh Installation should not be assumed to be located within ~/home directory. User should expected to install project anywhere and run the startup scripts while in stable-diffusion-webui directory. --- webui-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui-user.sh b/webui-user.sh index bfa53cb7..74e8800c 100644 --- a/webui-user.sh +++ b/webui-user.sh @@ -4,7 +4,7 @@ ######################################################### # Install directory without trailing slash -#install_dir="/home/$(whoami)" +#install_dir="$(pwd)" # Name of the subdirectory #clone_dir="stable-diffusion-webui" From 6439e72df2cd2126734ce4a69c277502c4c9982d Mon Sep 17 00:00:00 2001 From: ParityError <36368048+ParityError@users.noreply.github.com> Date: Sun, 12 Mar 2023 15:08:26 -0700 Subject: [PATCH 2/5] 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 --- webui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 5c051c0618bec1417827910b601ba915d0ca6c4e Mon Sep 17 00:00:00 2001 From: ParityError <36368048+ParityError@users.noreply.github.com> Date: Sun, 12 Mar 2023 15:10:44 -0700 Subject: [PATCH 3/5] 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 --- webui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.sh b/webui.sh index b01e4fa9..cf649664 100755 --- a/webui.sh +++ b/webui.sh @@ -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) From fb68d93b6a579a424919b22682cf067ce9a8e13f Mon Sep 17 00:00:00 2001 From: ParityError <36368048+ParityError@users.noreply.github.com> Date: Tue, 28 Mar 2023 18:27:44 -0700 Subject: [PATCH 4/5] Update webui-user.sh --- webui-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui-user.sh b/webui-user.sh index 74e8800c..bfa53cb7 100644 --- a/webui-user.sh +++ b/webui-user.sh @@ -4,7 +4,7 @@ ######################################################### # Install directory without trailing slash -#install_dir="$(pwd)" +#install_dir="/home/$(whoami)" # Name of the subdirectory #clone_dir="stable-diffusion-webui" From f867d7b429d23f8fb82a979c22ba6c90955e0842 Mon Sep 17 00:00:00 2001 From: ParityError <36368048+ParityError@users.noreply.github.com> Date: Tue, 28 Mar 2023 18:34:02 -0700 Subject: [PATCH 5/5] Update README.md Updated to reflect change in webui.sh, so that the installation directory is not absolute (/home/user). --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b67e2296..c2a3578f 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ sudo dnf install wget git python3 # Arch-based: sudo pacman -S wget git python3 ``` -2. To install in `/home/$(whoami)/stable-diffusion-webui/`, run: +2. Navigate to the directory you would like the webui to be installed and execute the following command: ```bash bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh) ``` @@ -158,4 +158,4 @@ Licenses for borrowed code can be found in `Settings -> Licenses` screen, and al - Security advice - RyotaK - UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC - Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user. -- (You) \ No newline at end of file +- (You)