Spaces:
Runtime error
Runtime error
chenxin
commited on
Commit
·
2362ca1
1
Parent(s):
4d97b16
fix: TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -105,6 +105,9 @@ 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 |
# Prepare WebUI environment
|
| 109 |
WORKDIR /app/stable-diffusion-webui
|
| 110 |
RUN /opt/venv/bin/python launch.py --exit --skip-torch-cuda-test --xformers
|
|
|
|
| 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
|