Skip to content

Commit 5122f83

Browse files
authored
Tags for CLIP interrogation (#166)
This populates a folder with tags for the CLIP interrogator to label images with. I.e. artists, art styles, art mediums, moods and genres, etc.
1 parent 3c544dd commit 5122f83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/AUTOMATIC1111/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ EOF
2020

2121
RUN git clone https://github.com/crowsonkb/k-diffusion.git repositories/k-diffusion && cd repositories/k-diffusion && git reset --hard f4e99857772fc3a126ba886aadf795a332774878
2222

23+
RUN git clone https://github.com/pharmapsychotic/clip-interrogator repositories/clip-interrogator && cd repositories/clip-interrogator && git reset --hard 2486589f24165c8e3b303f84e9dbbea318df83e8
2324

2425
FROM alpine:3 as xformers
2526
RUN apk add aria2
@@ -48,6 +49,7 @@ ENV ROOT=/stable-diffusion-webui \
4849

4950

5051
COPY --from=download /git/ ${ROOT}
52+
RUN mkdir ${ROOT}/interrogate && cp ${ROOT}/repositories/clip-interrogator/data/* ${ROOT}/interrogate
5153
RUN pip install --prefer-binary --no-cache-dir -r ${ROOT}/repositories/CodeFormer/requirements.txt
5254

5355
# TODO: move to top
@@ -74,11 +76,11 @@ COPY --from=xformers /wheel.whl xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.wh
7476
RUN pip install xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl
7577

7678
COPY . /docker
79+
7780
RUN <<EOF
7881
chmod +x /docker/mount.sh && python3 /docker/info.py ${ROOT}/modules/ui.py
7982
EOF
8083

81-
8284
ENV CLI_ARGS=""
8385
WORKDIR ${WORKDIR}
8486
EXPOSE 7860

0 commit comments

Comments
 (0)