Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -24,9 +24,9 @@ RUN sed -i -e '''/prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/di
|
|
24 |
RUN sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py
|
25 |
RUN cd stable-diffusion-webui && python launch.py --skip-torch-cuda-test
|
26 |
|
27 |
-
ADD --chown=user https://github.com/camenduru/webui
|
28 |
RUN sed -i -e '/import image_from_url_text/r /content/env_patch.py' /content/stable-diffusion-webui/modules/ui.py
|
29 |
-
ADD --chown=user https://github.com/camenduru/webui
|
30 |
RUN sed -i -e '/demo:/r /content/header_patch.py' /content/stable-diffusion-webui/modules/ui.py
|
31 |
|
32 |
RUN sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /content/stable-diffusion-webui/modules/ui.py
|
|
|
24 |
RUN sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py
|
25 |
RUN cd stable-diffusion-webui && python launch.py --skip-torch-cuda-test
|
26 |
|
27 |
+
ADD --chown=user https://github.com/camenduru/webui/raw/main/env_patch.py /content/env_patch.py
|
28 |
RUN sed -i -e '/import image_from_url_text/r /content/env_patch.py' /content/stable-diffusion-webui/modules/ui.py
|
29 |
+
ADD --chown=user https://github.com/camenduru/webui/raw/main/header_patch.py /content/header_patch.py
|
30 |
RUN sed -i -e '/demo:/r /content/header_patch.py' /content/stable-diffusion-webui/modules/ui.py
|
31 |
|
32 |
RUN sed -i -e '/(modelmerger_interface, \"Checkpoint Merger\", \"modelmerger\"),/d' /content/stable-diffusion-webui/modules/ui.py
|