create default styles.csv if it doesn't exist

default values confirmed here 2fd7935ef4/modules/styles.py (L42)
This commit is contained in:
Wallop 2022-10-27 20:30:24 -05:00 committed by GitHub
parent ce2b1c4187
commit 4bd65412fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,10 @@ if [ ! -f /data/config/auto/ui-config.json ]; then
echo '{}' >/data/config/auto/ui-config.json
fi
if [ ! -f /data/config/auto/styles.csv ]; then
echo $'name,prompt,negative_prompt\nNone,,' >/data/config/auto/styles.csv
fi
declare -A MOUNTS
MOUNTS["/root/.cache"]="/data/.cache"