From 43492b0ba11376f5e0067bdb32402ce793a43285 Mon Sep 17 00:00:00 2001 From: Abdullah Barhoum Date: Sun, 28 Aug 2022 09:34:56 +0200 Subject: [PATCH] Update UI to 3389056 --- .gitignore | 1 + build/Dockerfile | 4 ++-- docker-compose.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f42e49b..08b838f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /dev +/.devcontainer diff --git a/build/Dockerfile b/build/Dockerfile index d57494b..ff0f8a4 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -12,7 +12,7 @@ RUN conda env update --file stable-diffusion/environment.yaml --name base && con RUN apt-get update && apt install fonts-dejavu-core && apt-get clean RUN git clone https://github.com/hlky/stable-diffusion-webui.git && cd stable-diffusion-webui && \ - git reset --hard fe6f1e3dc5773aabf879e1d686699092bf483a6b && \ + git reset --hard 33890563d237889aca7cbc4f04ae42b885aee07e && \ cp -t /stable-diffusion/scripts/ txt2img.yaml webui.py webui.yaml webui_playground.py && \ cd / && rm -rf stable-diffusion-webui @@ -28,4 +28,4 @@ CMD ln -sf /models/model.ckpt /stable-diffusion/models/ldm/stable-diffusion-v1/m mkdir -p /cache/weights/ && rm -rf /opt/conda/lib/python3.8/site-packages/facexlib/weights && \ ln -sf /cache/weights/ /opt/conda/lib/python3.8/site-packages/facexlib/ && \ # run, -u to not buffer stdout / stderr - python3 -u scripts/webui.py --outdir /output --save-metadata --ckpt /models/model.ckpt ${CLI_ARGS} + python3 -u scripts/webui.py --outdir /output --save-metadata --ckpt /models/model.ckpt ${CLI_ARGS} diff --git a/docker-compose.yml b/docker-compose.yml index 7f59af7..18745bd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: '3.9' services: model: build: ./build/ - restart: always + restart: on-failure ports: - "7860:7860" volumes: