run.sh 289 B

12345678910
  1. #!/bin/bash
  2. set -Eeuo pipefail
  3. echo "USE_STREAMLIT = ${USE_STREAMLIT}"
  4. if [ "${USE_STREAMLIT}" == "1" ]; then
  5. python -u -m streamlit run scripts/webui_streamlit.py
  6. else
  7. python3 -u scripts/webui.py --outdir /output --ckpt /data/StableDiffusion/v1-5-pruned-emaonly.ckpt ${CLI_ARGS}
  8. fi