How to read a large text file? #43
-
I'm wondering if there's a standard way to pipe a large text file to Coqui-tts and have it read it as output? I'm mostly interested in having it play over speakers, rather than saving a .wav file. There were some posts a few years old that say the best way was to just use Python to break the file up by newline and pass each one to tts individually. Is that the best way to do it still? Or is there a better way, especially now that the latency is lower? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You're probably best off writing your own wrapper script that fits your use case, there is no single best solution. Here is one example: coqui-ai#3801 You could also combine it with streaming inference: https://coqui-tts.readthedocs.io/en/latest/models/xtts.html#streaming-manually |
Beta Was this translation helpful? Give feedback.
You're probably best off writing your own wrapper script that fits your use case, there is no single best solution. Here is one example: coqui-ai#3801
You could also combine it with streaming inference: https://coqui-tts.readthedocs.io/en/latest/models/xtts.html#streaming-manually