Spaces:
Runtime error
Runtime error
chenxin
commited on
Commit
·
759e48a
1
Parent(s):
2362ca1
httpx
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -69,6 +69,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
69 |
RUN echo "export PATH=$PATH" >> /home/user/.bashrc \
|
70 |
&& python3 -m venv $VIRTUAL_ENV \
|
71 |
&& /opt/venv/bin/pip install --upgrade --no-cache-dir pip \
|
|
|
72 |
&& chown -R user:user /opt/venv
|
73 |
|
74 |
# Run as non-root user
|
@@ -105,9 +106,6 @@ RUN git clone https://github.com/Mikubill/sd-webui-controlnet /app/stable-diffus
|
|
105 |
&& (cd /app/stable-diffusion-webui/extensions/sd-webui-controlnet && git checkout 274dd5df217a03e059e9cf052447aece81bbd1cf) \
|
106 |
&& mkdir -p /app/stable-diffusion-webui/models/ControlNet
|
107 |
|
108 |
-
# fix: TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
|
109 |
-
RUN cd stable-diffusion-webui && source venv/bin/activate && pip3 install httpx==0.24.1
|
110 |
-
|
111 |
# Prepare WebUI environment
|
112 |
WORKDIR /app/stable-diffusion-webui
|
113 |
RUN /opt/venv/bin/python launch.py --exit --skip-torch-cuda-test --xformers
|
|
|
69 |
RUN echo "export PATH=$PATH" >> /home/user/.bashrc \
|
70 |
&& python3 -m venv $VIRTUAL_ENV \
|
71 |
&& /opt/venv/bin/pip install --upgrade --no-cache-dir pip \
|
72 |
+
&& pip3 install httpx==0.24.1 \
|
73 |
&& chown -R user:user /opt/venv
|
74 |
|
75 |
# Run as non-root user
|
|
|
106 |
&& (cd /app/stable-diffusion-webui/extensions/sd-webui-controlnet && git checkout 274dd5df217a03e059e9cf052447aece81bbd1cf) \
|
107 |
&& mkdir -p /app/stable-diffusion-webui/models/ControlNet
|
108 |
|
|
|
|
|
|
|
109 |
# Prepare WebUI environment
|
110 |
WORKDIR /app/stable-diffusion-webui
|
111 |
RUN /opt/venv/bin/python launch.py --exit --skip-torch-cuda-test --xformers
|