mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-06 07:34:18 +01:00
create default styles.csv if it doesn't exist
default values confirmed here 2fd7935ef4/modules/styles.py (L42)
This commit is contained in:
parent
ce2b1c4187
commit
4bd65412fc
|
|
@ -10,6 +10,10 @@ if [ ! -f /data/config/auto/ui-config.json ]; then
|
||||||
echo '{}' >/data/config/auto/ui-config.json
|
echo '{}' >/data/config/auto/ui-config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f /data/config/auto/styles.csv ]; then
|
||||||
|
echo $'name,prompt,negative_prompt\nNone,,' >/data/config/auto/styles.csv
|
||||||
|
fi
|
||||||
|
|
||||||
declare -A MOUNTS
|
declare -A MOUNTS
|
||||||
|
|
||||||
MOUNTS["/root/.cache"]="/data/.cache"
|
MOUNTS["/root/.cache"]="/data/.cache"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue