From 69d4b5f24f84791ce61dd78be80494834ddb5e59 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Fri, 4 Nov 2022 19:39:59 +0100 Subject: [PATCH] deepdanbooru --- data/.gitignore | 1 + docker-compose.yml | 2 +- services/AUTOMATIC1111/Dockerfile | 2 +- services/AUTOMATIC1111/entrypoint.sh | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/data/.gitignore b/data/.gitignore index 36b7867..3140f5c 100644 --- a/data/.gitignore +++ b/data/.gitignore @@ -13,5 +13,6 @@ /SwinIR /ScuNET /LDSR +/Deepdanbooru /Hypernetworks /embeddings diff --git a/docker-compose.yml b/docker-compose.yml index 1422685..3a29d37 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: <<: *base_service profiles: ["auto"] build: ./services/AUTOMATIC1111 - image: sd-auto:9 + image: sd-auto:10 environment: - CLI_ARGS=--allow-code --medvram --xformers diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index 1958a23..24b9654 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -60,7 +60,7 @@ RUN pip install --prefer-binary --no-cache-dir -r ${ROOT}/repositories/CodeForme ARG DEEPDANBOORU="0" -RUN [[ ${DEEPDANBOORU:-"0"} == "0" ]] && : || pip install tensorflow-cpu==2.10 tensorflow-io==0.27.0 git+https://github.com/KichangKim/DeepDanbooru.git@edf73df4cdaeea2cf00e9ac08bd8a9026b7a7b26#egg=deepdanbooru +RUN [[ "${DEEPDANBOORU:-0}" == "0" ]] && : || pip install tensorflow-cpu==2.10 tensorflow-io==0.27.0 git+https://github.com/KichangKim/DeepDanbooru.git@edf73df4cdaeea2cf00e9ac08bd8a9026b7a7b26#egg=deepdanbooru # Note: don't update the sha of previous versions because the install will take forever # instead, update the repo state in a later step diff --git a/services/AUTOMATIC1111/entrypoint.sh b/services/AUTOMATIC1111/entrypoint.sh index 781e737..e7e2f13 100755 --- a/services/AUTOMATIC1111/entrypoint.sh +++ b/services/AUTOMATIC1111/entrypoint.sh @@ -29,6 +29,7 @@ MOUNTS["${ROOT}/models/SwinIR"]="/data/SwinIR" MOUNTS["${ROOT}/models/ScuNET"]="/data/ScuNET" MOUNTS["${ROOT}/models/LDSR"]="/data/LDSR" MOUNTS["${ROOT}/models/hypernetworks"]="/data/Hypernetworks" +MOUNTS["${ROOT}/models/deepbooru"]="/data/Deepdanbooru" MOUNTS["${ROOT}/embeddings"]="/data/embeddings" MOUNTS["${ROOT}/config.json"]="/data/config/auto/config.json" @@ -58,5 +59,4 @@ if [ -f "/data/config/auto/startup.sh" ]; then popd fi - exec "$@"