Initial commit: Korean voice-cloning TTS prototype

FastAPI backend, web UI, CosyVoice3/F5-TTS setup scripts, and handoff docs for GPU PC continuation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-04 13:36:37 +09:00
commit 7101fdcd65
36 changed files with 1937 additions and 0 deletions

19
scripts/run_server.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
if [[ ! -x "$ROOT/.venvs/api/bin/uvicorn" ]]; then
echo "API venv 없음. ./scripts/setup_api.sh 실행"
exit 1
fi
export PYTHONPATH="$ROOT"
# shellcheck disable=SC1091
[[ -f "$ROOT/.env" ]] && source "$ROOT/.env"
exec "$ROOT/.venvs/api/bin/uvicorn" backend.app.main:app \
--host "${TTS_HOST:-0.0.0.0}" \
--port "${TTS_PORT:-8000}" \
--reload