Download scripts/start.sh from Edge0/Audio8-TTS-Preview-0.6b: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/spaces/Edge0/Audio8-TTS-Preview-0.6b/resolve/main/scripts/start.sh
- Command line
-
hf download hf://spaces/Edge0/Audio8-TTS-Preview-0.6b/scripts/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/Edge0/Audio8-TTS-Preview-0.6b/resolve/main/scripts/start.sh
327 Bytes
| set -euo pipefail | |
| /home/user/app/scripts/run_backend.sh & | |
| backend_pid=$! | |
| cleanup() { | |
| kill "${backend_pid}" 2>/dev/null || true | |
| } | |
| trap cleanup EXIT INT TERM | |
| # Expose the UI immediately while the model initializes in the background. | |
| exec uvicorn app:app --host 0.0.0.0 --port "${PORT:-7860}" --workers 1 | |