mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-06 23:14:03 +00:00
Fix message repetition
This commit is contained in:
parent
b3fa72a614
commit
66c0658255
2 changed files with 5 additions and 3 deletions
|
|
@ -30,12 +30,14 @@ RUN git clone https://github.com/hlky/stable-diffusion-webui.git && cd stable-di
|
|||
# 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
|
||||
ENV TRANSFORMERS_CACHE=/cache/transformers TORCH_HOME=/cache/torch CLI_ARGS=""
|
||||
EXPOSE 7860
|
||||
COPY info.py /info.py
|
||||
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/RealESRGAN_x4plus.pth /stable-diffusion/src/realesrgan/experiments/pretrained_models/RealESRGAN_x4plus.pth && \
|
||||
# force facexlib cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue