mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-08 08:34:21 +01:00
Update Auto
This commit is contained in:
parent
ccd6e238b2
commit
fe2316ef48
17
.github/workflows/executable.yml
vendored
Normal file
17
.github/workflows/executable.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
name: Check executable
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: |
|
||||||
|
shopt -s globstar
|
||||||
|
for file in **/*.sh; do
|
||||||
|
if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then
|
||||||
|
echo "$file" is not executable;
|
||||||
|
exit 1;
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
@ -19,13 +19,12 @@ RUN apt-get update && apt-get install git fonts-dejavu-core -y && apt-get clean
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
|
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
|
||||||
cd stable-diffusion-webui
|
cd stable-diffusion-webui
|
||||||
git reset --hard 064965c4660f57f24e2d51a9854defaeabf8c0cf
|
git reset --hard db6db585eb9ee48e7315e28603e18531dbc87067
|
||||||
pip install -U --prefer-binary --no-cache-dir -r requirements.txt
|
pip install -U --prefer-binary --no-cache-dir -r requirements.txt
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
pip install --prefer-binary -U --no-cache-dir diffusers numpy invisible-watermark git+https://github.com/crowsonkb/k-diffusion.git \
|
pip install --prefer-binary -U --no-cache-dir opencv-python-headless markupsafe==2.0.1
|
||||||
git+https://github.com/TencentARC/GFPGAN.git markupsafe==2.0.1 opencv-python-headless
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,5 @@ Clone this repo, download the `model.ckpt` and `GFPGANv1.3.pth` and put into the
|
||||||
cd AUTOMATIC1111
|
cd AUTOMATIC1111
|
||||||
docker compose up --build
|
docker compose up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can change the cli parameters in `AUTOMATIC1111/docker-compose.yml`. The full list of cil parameters can be found [here](https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/shared.py)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue