Skip to content

Commit 2efaeb4

Browse files
authored
Add styles.csv support (#440)
Follow up to #386 after AUTOMATIC1111/stable-diffusion-webui#9334 has been merged. Closes #435
1 parent 56b9422 commit 2efaeb4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
<<: *base_service
2929
profiles: ["auto"]
3030
build: ./services/AUTOMATIC1111
31-
image: sd-auto:53
31+
image: sd-auto:54
3232
environment:
3333
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
3434

services/AUTOMATIC1111/entrypoint.sh

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ if [ ! -f /data/config/auto/ui-config.json ]; then
1515
echo '{}' >/data/config/auto/ui-config.json
1616
fi
1717

18+
if [ ! -f /data/config/auto/styles.csv ]; then
19+
touch /data/config/auto/styles.csv
20+
fi
21+
1822
declare -A MOUNTS
1923

2024
MOUNTS["/root/.cache"]="/data/.cache"
@@ -43,6 +47,7 @@ MOUNTS["${ROOT}/models/ModelScope"]="/data/ModelScope"
4347
MOUNTS["${ROOT}/embeddings"]="/data/embeddings"
4448
MOUNTS["${ROOT}/config.json"]="/data/config/auto/config.json"
4549
MOUNTS["${ROOT}/ui-config.json"]="/data/config/auto/ui-config.json"
50+
MOUNTS["${ROOT}/styles.csv"]="/data/config/auto/styles.csv"
4651
MOUNTS["${ROOT}/extensions"]="/data/config/auto/extensions"
4752

4853
# extra hacks

0 commit comments

Comments
 (0)