idiap / coqui-ai-TTS

🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
https://coqui-tts.readthedocs.io
Mozilla Public License 2.0
591 stars 61 forks source link

Fix XTTS streaming for transformers update #46

Closed eginhard closed 5 months ago

eginhard commented 5 months ago

Fixes #31. Tested by confirming the XTTS streaming code now works with transformers>=4.41

The streaming implementation closely follows the GenerationMixin.generate() function, so I just updated it in line with upstream changes.