aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-04-29 14:16:57 +0000
committerGitHub <noreply@github.com>2023-04-29 14:16:57 +0000
commitc018eefe9173ae8f3669340479569dda78643a8a (patch)
tree13b0e721d11e3d7bbdae37840d00615948e0e87f
parent8987764395f72d85776f91512391ccd4688e47bb (diff)
parent1185bf3981de36904a427c93ca206a483f25e8fb (diff)
downloadstable-diffusion-webui-gfx803-c018eefe9173ae8f3669340479569dda78643a8a.tar.gz
stable-diffusion-webui-gfx803-c018eefe9173ae8f3669340479569dda78643a8a.tar.bz2
stable-diffusion-webui-gfx803-c018eefe9173ae8f3669340479569dda78643a8a.zip
Merge pull request #8563 from ParityError/master
Update webui.sh
-rw-r--r--README.md4
-rwxr-xr-xwebui.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 20f74531..996eefb6 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)
```
@@ -159,4 +159,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)
diff --git a/webui.sh b/webui.sh
index 35e7b74e..3e069371 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}"
+ install_dir="$(pwd)"
fi
# Name of the subdirectory (defaults to stable-diffusion-webui)