Add stablediff webui container entrypoint script
This commit is contained in:
14
config/stablediffusion/launch.sh
Executable file
14
config/stablediffusion/launch.sh
Executable 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
|
Reference in New Issue
Block a user