11 lines
346 B
Bash
11 lines
346 B
Bash
#!/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 --enable-insecure-extension-access --ckpt /model.safetensors &
|
|
cd /
|
|
|
|
echo "starting worker"
|
|
python -u handler.py |