mirror of
https://github.com/mudler/LocalAI.git
synced 2026-07-10 16:27:58 -04:00
Link the f5-tts library into the crispasr backend so CrispASR's native F5-TTS runtime (SWivid F5-TTS, 22-layer DiT flow-matching + built-in Vocos vocoder) is compiled in. The single self-contained GGUF auto-detects as f5-tts through the session router, so no explicit backend selector is needed. Add the f5-tts-crispasr gallery entry (cstr/f5-tts-GGUF) and an env-gated e2e synthesis spec. F5-TTS is voice-cloning only and has no baked speaker: it clones from a reference WAV plus its transcript, supplied via the voice/voice_text options. The gallery description documents this bring-your-own-reference requirement. Verified e2e on the pinned engine (278fb79): the GGUF auto-detects as f5-tts, the reference voice loads, and synthesis produces a valid 24 kHz mono WAV. Assisted-by: Claude:claude-opus-4-8 [Claude Code] Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>