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:
13
scripts/setup_api.sh
Executable file
13
scripts/setup_api.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# FastAPI 서버용 경량 venv
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
VENV="$ROOT/.venvs/api"
|
||||
|
||||
python3 -m venv "$VENV"
|
||||
"$VENV/bin/pip" install -U pip wheel
|
||||
"$VENV/bin/pip" install -r "$ROOT/backend/requirements.txt"
|
||||
|
||||
echo "API venv 준비 완료: $VENV"
|
||||
echo "실행: $VENV/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000"
|
||||
Reference in New Issue
Block a user