Fix message repetition

This commit is contained in:
Abdullah Barhoum 2022-08-28 19:09:15 +02:00
parent b3fa72a614
commit 66c0658255
2 changed files with 5 additions and 3 deletions

View File

@ -30,12 +30,14 @@ RUN git clone https://github.com/hlky/stable-diffusion-webui.git && cd stable-di
# cd / && rm -rf stable-diffusion-webui # cd / && rm -rf stable-diffusion-webui
# add info
COPY info.py /info.py
RUN python /info.py /stable-diffusion/scripts/webui.py
WORKDIR /stable-diffusion WORKDIR /stable-diffusion
ENV TRANSFORMERS_CACHE=/cache/transformers TORCH_HOME=/cache/torch CLI_ARGS="" ENV TRANSFORMERS_CACHE=/cache/transformers TORCH_HOME=/cache/torch CLI_ARGS=""
EXPOSE 7860 EXPOSE 7860
COPY info.py /info.py
CMD \ CMD \
python /info.py scripts/webui.py && \
ln -sf /models/GFPGANv1.3.pth /stable-diffusion/src/gfpgan/experiments/pretrained_models/GFPGANv1.3.pth && \ ln -sf /models/GFPGANv1.3.pth /stable-diffusion/src/gfpgan/experiments/pretrained_models/GFPGANv1.3.pth && \
ln -sf /models/RealESRGAN_x4plus.pth /stable-diffusion/src/realesrgan/experiments/pretrained_models/RealESRGAN_x4plus.pth && \ ln -sf /models/RealESRGAN_x4plus.pth /stable-diffusion/src/realesrgan/experiments/pretrained_models/RealESRGAN_x4plus.pth && \
# force facexlib cache # force facexlib cache

View File

@ -8,5 +8,5 @@ file.write_text(
Created using <a href="https://github.com/AbdBarho/stable-diffusion-webui-docker">stable-diffusion-webui-docker</a>. Created using <a href="https://github.com/AbdBarho/stable-diffusion-webui-docker">stable-diffusion-webui-docker</a>.
</p> </p>
<p>For help and advanced usage guides, <p>For help and advanced usage guides,
""") """, 1)
) )