mirror of
				https://github.com/AbdBarho/stable-diffusion-webui-docker.git
				synced 2025-10-28 16:54:16 -04:00 
			
		
		
		
	Add styles.csv support (#440)
Follow up to #386 after https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/9334 has been merged. Closes #435
This commit is contained in:
		| @@ -28,7 +28,7 @@ services: | |||||||
|     <<: *base_service |     <<: *base_service | ||||||
|     profiles: ["auto"] |     profiles: ["auto"] | ||||||
|     build: ./services/AUTOMATIC1111 |     build: ./services/AUTOMATIC1111 | ||||||
|     image: sd-auto:53 |     image: sd-auto:54 | ||||||
|     environment: |     environment: | ||||||
|       - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api |       - CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api | ||||||
|  |  | ||||||
|   | |||||||
| @@ -15,6 +15,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 | ||||||
|  |   touch /data/config/auto/styles.csv | ||||||
|  | fi | ||||||
|  |  | ||||||
| declare -A MOUNTS | declare -A MOUNTS | ||||||
|  |  | ||||||
| MOUNTS["/root/.cache"]="/data/.cache" | MOUNTS["/root/.cache"]="/data/.cache" | ||||||
| @@ -43,6 +47,7 @@ MOUNTS["${ROOT}/models/ModelScope"]="/data/ModelScope" | |||||||
| MOUNTS["${ROOT}/embeddings"]="/data/embeddings" | MOUNTS["${ROOT}/embeddings"]="/data/embeddings" | ||||||
| MOUNTS["${ROOT}/config.json"]="/data/config/auto/config.json" | MOUNTS["${ROOT}/config.json"]="/data/config/auto/config.json" | ||||||
| MOUNTS["${ROOT}/ui-config.json"]="/data/config/auto/ui-config.json" | MOUNTS["${ROOT}/ui-config.json"]="/data/config/auto/ui-config.json" | ||||||
|  | MOUNTS["${ROOT}/styles.csv"]="/data/config/auto/styles.csv" | ||||||
| MOUNTS["${ROOT}/extensions"]="/data/config/auto/extensions" | MOUNTS["${ROOT}/extensions"]="/data/config/auto/extensions" | ||||||
|  |  | ||||||
| # extra hacks | # extra hacks | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user