Tt2 / start.sh
euIaxs22's picture
Update start.sh
37669ff verified
raw
history blame contribute delete
549 Bytes
#!/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