2 Commits

Author SHA1 Message Date
cdd8c0fc08 fix: Improve Piper TTS error handling and user messaging
- Added proper error handling for missing voice models in preview endpoint
- Return 404 with helpful message when Piper models not found
- Added user-friendly alert in frontend when preview fails
- Added prominent warning in UI when Piper is selected about manual setup
- Check for empty audio before returning to prevent decode errors

Users now get clear feedback when Piper voice models are missing
instead of cryptic 'media could not be decoded' errors.
2025-12-09 15:00:32 +00:00
d3e72edd7f fix: Update Piper TTS to support voice preview and improve setup
- Fixed preview endpoint to work with both Kokoro and Piper engines
- Improved voice model download with curl fallback and SSL handling
- Added better error messages when models are missing
- Created PIPER_SETUP.md with manual download instructions
- Added test_piper_direct.py for testing Piper installation
- Updated README with voice model download requirements

Note: Piper voice models require manual download from GitHub releases
due to HuggingFace URL structure. See PIPER_SETUP.md for instructions.
2025-12-09 14:56:48 +00:00