You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
312 B
11 lines
312 B
#!/bin/bash
|
|
echo "Container Started"
|
|
export PYTHONUNBUFFERED=1
|
|
source /workspace/stable-diffusion-webui/venv/bin/activate
|
|
cd /workspace/stable-diffusion-webui
|
|
echo "starting api"
|
|
python webui.py --port 3000 --nowebui --api --xformers --ckpt /model.safetensors &
|
|
cd /
|
|
|
|
echo "starting worker"
|
|
python -u handler.py
|
|
|