sd-webui now has real releases

This commit is contained in:
Max Howell 2023-05-09 11:21:24 -04:00
parent dcccb1c06a
commit 3bcd553d32
2 changed files with 9 additions and 2 deletions

View file

@ -15,8 +15,14 @@ d="$(cd "$(dirname $0)" && pwd)"
"$d"/bin/stable-diffusion-webui & "$d"/bin/stable-diffusion-webui &
PID=$!
# poll until a HEAD request succeeds # poll until a HEAD request succeeds
while ! curl -Is http://127.0.0.1:7860 | grep -q "HTTP/1.1 200 OK"; do while ! curl -Is http://127.0.0.1:7860 | grep -q "HTTP/1.1 200 OK"; do
if ! kill -0 $PID; then
echo "webui process died!"
exit 1
fi
sleep 1 sleep 1
done done

View file

@ -1,9 +1,9 @@
distributable: distributable:
url: https://github.com/AUTOMATIC1111/stable-diffusion-webui/archive/22bcc7be.tar.gz url: https://github.com/AUTOMATIC1111/stable-diffusion-webui/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
- 2023.03.29 github: AUTOMATIC1111/stable-diffusion-webui
dependencies: dependencies:
python.org: ~3.10 python.org: ~3.10
@ -13,6 +13,7 @@ dependencies:
# clear out all the git repos (they were 100s of MB) # clear out all the git repos (they were 100s of MB)
git-scm.org: ^2 git-scm.org: ^2
#FIXME pls make this work on Linux thanks
platforms: darwin platforms: darwin
build: build: