Skip to content

Commit 31e4dec

Browse files
authored
Expose auto ui config (#149)
Closes #147
1 parent 0148e5e commit 31e4dec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

services/AUTOMATIC1111/mount.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ mkdir -p /data/config/auto/
66
cp -n /docker/config.json /data/config/auto/config.json
77
jq '. * input' /data/config/auto/config.json /docker/config.json | sponge /data/config/auto/config.json
88

9+
if [ ! -f /data/config/auto/ui-config.json ]; then
10+
echo '{}' >/data/config/auto/ui-config.json
11+
fi
12+
913
declare -A MOUNTS
1014

1115
MOUNTS["/root/.cache"]="/data/.cache"
@@ -24,6 +28,7 @@ MOUNTS["${ROOT}/models/hypernetworks"]="/data/Hypernetworks"
2428

2529
MOUNTS["${ROOT}/embeddings"]="/data/embeddings"
2630
MOUNTS["${ROOT}/config.json"]="/data/config/auto/config.json"
31+
MOUNTS["${ROOT}/ui-config.json"]="/data/config/auto/ui-config.json"
2732

2833
# extra hacks
2934
MOUNTS["${ROOT}/repositories/CodeFormer/weights/facelib"]="/data/.cache"

0 commit comments

Comments
 (0)