Skip to content

Commit 5450583

Browse files
AbdBarhoImaginatorpirahtays
authored
Deepdanbooru Support (#194)
Builds on top of #150 Thanks to @pirahtays Co-authored-by: Imaginator <[email protected]> Co-authored-by: pirahtays <[email protected]>
1 parent 1cfb915 commit 5450583

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

data/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
/SwinIR
1414
/ScuNET
1515
/LDSR
16+
/Deepdanbooru
1617
/Hypernetworks
1718
/VAE
1819
/embeddings

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
<<: *base_service
2828
profiles: ["auto"]
2929
build: ./services/AUTOMATIC1111
30-
image: sd-auto:9
30+
image: sd-auto:10
3131
environment:
3232
- CLI_ARGS=--allow-code --medvram --xformers
3333

services/AUTOMATIC1111/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ RUN mkdir ${ROOT}/interrogate && cp ${ROOT}/repositories/clip-interrogator/data/
5959
RUN pip install --prefer-binary --no-cache-dir -r ${ROOT}/repositories/CodeFormer/requirements.txt
6060

6161

62+
ARG DEEPDANBOORU="0"
63+
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
64+
6265
# Note: don't update the sha of previous versions because the install will take forever
6366
# instead, update the repo state in a later step
6467

services/AUTOMATIC1111/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ MOUNTS["${ROOT}/models/SwinIR"]="/data/SwinIR"
2929
MOUNTS["${ROOT}/models/ScuNET"]="/data/ScuNET"
3030
MOUNTS["${ROOT}/models/LDSR"]="/data/LDSR"
3131
MOUNTS["${ROOT}/models/hypernetworks"]="/data/Hypernetworks"
32+
MOUNTS["${ROOT}/models/deepbooru"]="/data/Deepdanbooru"
3233

3334
MOUNTS["${ROOT}/embeddings"]="/data/embeddings"
3435
MOUNTS["${ROOT}/config.json"]="/data/config/auto/config.json"
@@ -58,5 +59,4 @@ if [ -f "/data/config/auto/startup.sh" ]; then
5859
popd
5960
fi
6061

61-
6262
exec "$@"

0 commit comments

Comments
 (0)