Spaces:
Running
on
T4
Running
on
T4
Commit
•
d5cecb2
1
Parent(s):
cd3bb35
Update Dockerfile (#26)
Browse files- Update Dockerfile (689099d3aa2eb78439102ffde681c3978b92610b)
Co-authored-by: GPTfree api <[email protected]>
- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -21,7 +21,8 @@ RUN pip install numexpr
|
|
21 |
RUN pip install httpx==0.24.1
|
22 |
|
23 |
RUN git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui
|
24 |
-
RUN pip install
|
|
|
25 |
RUN sed -i '$a fastapi==0.90.0' /content/stable-diffusion-webui/requirements_versions.txt
|
26 |
RUN sed -i -e '''/prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
|
27 |
RUN sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py
|
|
|
21 |
RUN pip install httpx==0.24.1
|
22 |
|
23 |
RUN git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui
|
24 |
+
RUN pip install pip==23.3.1 # Downgrade pip to fix metadata issue
|
25 |
+
RUN pip install pytorch_lightning==1.7.6
|
26 |
RUN sed -i '$a fastapi==0.90.0' /content/stable-diffusion-webui/requirements_versions.txt
|
27 |
RUN sed -i -e '''/prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
|
28 |
RUN sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py
|