Fix Kokoro TTS integration - correct KPipeline API
- Removed model_path parameter (not supported by kokoro package) - Removed repo_id parameter (causes KeyError) - Use default KPipeline initialization with only lang_code - Kokoro package handles model download automatically Tested and working: - American English voices (alloy, af_sarah, am_michael, etc.) - British English voices (bm_george, bf_emma, etc.) - Audio generation produces valid MP3 files 🦝 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f8d46e92d5
commit
9b5caadb8f
3 changed files with 59 additions and 12 deletions
|
|
@ -122,14 +122,31 @@ uncloseai-speech/
|
|||
|
||||
### Working
|
||||
- ✅ Piper TTS (tts-1) - Fast, 100+ voices, absolute paths working
|
||||
- ⚠️ XTTS v2 (tts-1-hd) - High quality, needs speaker samples
|
||||
- ✅ XTTS v2 (tts-1-hd) - High quality voice cloning, multilingual
|
||||
- ✅ Silero TTS (tts-1-silero) - Fast CPU-friendly, 148 voices, 5 languages
|
||||
- ✅ Kokoro TTS (tts-1-kokoro) - Lightweight decoder (82M params), 34 voices
|
||||
|
||||
### High Priority Integration
|
||||
- 🎯 Silero TTS - Active project, fast, good quality
|
||||
- 🎯 StyleTTS2 - Best quality available
|
||||
- 🎯 Fish Speech - Modern, multilingual
|
||||
|
||||
See `docs/MODELS.md` for complete roadmap.
|
||||
1. **StyleTTS2** ⭐⭐⭐⭐⭐
|
||||
- Why: State-of-the-art quality, best prosody and naturalness
|
||||
- License: MIT (permissive)
|
||||
- Challenge: Complex dependencies (phonemizer), slower inference
|
||||
- Priority: HIGH - Best quality available
|
||||
|
||||
2. **Fish Speech** ⭐⭐⭐⭐
|
||||
- Why: Fast, modern, active development, good multilingual support
|
||||
- License: Apache 2.0
|
||||
- Challenge: Newer/less proven
|
||||
- Priority: MEDIUM-HIGH - Good balance of quality and speed
|
||||
|
||||
3. **Chatterbox** ⭐⭐⭐⭐
|
||||
- Why: Emotion control, 23 languages, zero-shot cloning
|
||||
- License: Apache 2.0
|
||||
- Challenge: Production complexity
|
||||
- Priority: MEDIUM-HIGH - Unique emotion features
|
||||
|
||||
See `docs/MODELS.md` for complete roadmap and detailed model documentation.
|
||||
|
||||
## Deployment Workflow
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue