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 &
PID=$!
# poll until a HEAD request succeeds
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
done

View file

@ -1,9 +1,9 @@
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
versions:
- 2023.03.29
github: AUTOMATIC1111/stable-diffusion-webui
dependencies:
python.org: ~3.10
@ -13,6 +13,7 @@ dependencies:
# clear out all the git repos (they were 100s of MB)
git-scm.org: ^2
#FIXME pls make this work on Linux thanks
platforms: darwin
build: