1

Add stablediff webui container entrypoint script

This commit is contained in:
2023-05-11 23:26:07 +02:00
parent 46c6695b38
commit 275a5f6ad2

View File

@ -0,0 +1,14 @@
#!/bin/bash
# NOTE: This script is used in conjunction with the rocm/python docker image
# Install if necessary
if [[ ! -f "/webui-data/stable-diffusion-webui/launch.py" ]]; then
cd /webui-data
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
cd stable-diffusion-webui
python -m pip install --upgrade pip wheel
fi
cd /webui-data/stable-diffusion-webui
REQS_FILE='requirements.txt' python launch.py --precision full --no-half