Always serve static files (#314)

#308
This commit is contained in:
AbdBarho 2023-01-25 18:17:10 +01:00 committed by GitHub
parent 95e489afec
commit 9d2a3388c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,7 @@ services:
<<: *base_service
profiles: ["auto"]
build: ./services/AUTOMATIC1111
image: sd-auto:38
image: sd-auto:39
environment:
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api

View File

@ -83,6 +83,8 @@ COPY . /docker
RUN <<EOF
python3 /docker/info.py ${ROOT}/modules/ui.py
mv ${ROOT}/style.css ${ROOT}/user.css
# one of the ugliest hacks I ever wrote
sed -i 's/in_app_dir = .*/in_app_dir = True/g' /usr/local/lib/python3.10/site-packages/gradio/routes.py
EOF
WORKDIR ${ROOT}