File size: 549 Bytes
153afc8 df1e726 153afc8 bbccfcb e90ee20 bbccfcb df1e726 153afc8 37669ff bbccfcb 153afc8 e2e6441 aec24f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
#!/usr/bin/env bash
set -euo pipefail
# =======================
# start UI
# =======================
# --- Garante que Diretórios Existam ---
echo "[DiffSynth][install] instalando"
git clone https://github.com/modelscope/DiffSynth-Studio.git
cd DiffSynth-Studio
pip install -e .
cd ..
cp -R DiffSynth-Studio/diffsynth /app/diffsynth
export GRADIO_SERVER_NAME="0.0.0.0"
export GRADIO_SERVER_PORT="${PORT:-7860}"
export GRADIO_ENABLE_QUEUE="True"
tree -L 4 /app
tree -L 4 /data
echo "[app][start] launching app.py"
exec python /app/app.py
|