-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Guide
vonhex edited this page May 15, 2026
·
1 revision
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtmkdir -p checkpoints/F5TTS_Base
pip install huggingface_hub
huggingface-cli download SWivid/F5-TTS \
F5TTS_Base/model_1200000.pt \
F5TTS_Base/vocab.txt \
--local-dir checkpointsF5-TTS clones voice from a reference clip. You need a clean 10-second WAV file of the voice you want to use.
- Place it at
delamain_ref_10s.wavin the project root - Edit
REF_TEXTintts_engine.pyto match exactly what is spoken in the clip
For the authentic Cyberpunk 2077 Delamain voice, source a clean audio clip from the game and transcribe it.
cp .env.example .envEdit .env:
| Variable | Required | Description |
|---|---|---|
LLM_URL |
Yes | llama.cpp or OpenAI-compatible endpoint |
SEARXNG_URL |
No | SearXNG instance for web search |
ALLOWED_ORIGINS |
Yes | Your domain/IP for CORS |
python auth.py set-password yourpasswordTokens expire after 30 days. To show the current token:
python auth.py show-tokenBackend:
uvicorn main:app --host 0.0.0.0 --port 8888 --ws-ping-interval 0Frontend (development):
cd frontend && npm install && npm run devFrontend (production build):
cd frontend && npm run build
# Serve dist/ with nginx or any static file serverSee sunnypilot-bridge.md.