- Add proper error handling around pydub conversion
- Use absolute paths instead of relative paths
- Ensure output directory exists before saving
- Verify file was actually created before returning
- Add fallback to MP3 if conversion fails
- Update tts.py to handle both .wav and .mp3 extensions
- Add detailed logging for debugging
- Use pydub to convert MP3 to WAV in passthrough mode
- Fixed fallback conversion when Seed-VC is not available
- Output WAV format as expected by the API