mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-04 14:44:19 +01:00
Add support and enable deepdanbooru setting
This commit is contained in:
parent
31e4dec08f
commit
ef7e5d7bfb
|
|
@ -36,7 +36,7 @@ services:
|
||||||
profiles: ["auto"]
|
profiles: ["auto"]
|
||||||
build: ./services/AUTOMATIC1111
|
build: ./services/AUTOMATIC1111
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--allow-code --medvram --xformers
|
- CLI_ARGS=--allow-code --medvram --xformers --deepdanbooru
|
||||||
|
|
||||||
auto-cpu:
|
auto-cpu:
|
||||||
<<: *automatic
|
<<: *automatic
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,12 @@ RUN pip install --prefer-binary --no-cache-dir opencv-python-headless \
|
||||||
COPY --from=xformers /wheel.whl xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl
|
COPY --from=xformers /wheel.whl xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl
|
||||||
RUN pip install xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl
|
RUN pip install xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl
|
||||||
|
|
||||||
|
RUN <<EOF
|
||||||
|
pip install tensorflow
|
||||||
|
pip install tensorflow-io
|
||||||
|
pip install git+https://github.com/KichangKim/DeepDanbooru.git@edf73df4cdaeea2cf00e9ac08bd8a9026b7a7b26#egg=deepdanbooru deepdanbooru
|
||||||
|
EOF
|
||||||
|
|
||||||
COPY . /docker
|
COPY . /docker
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
chmod +x /docker/mount.sh && python3 /docker/info.py ${ROOT}/modules/ui.py
|
chmod +x /docker/mount.sh && python3 /docker/info.py ${ROOT}/modules/ui.py
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue