Dia-TTS-Server
Dia-TTS-Server copied to clipboard
Output longer than 25 seconds
I am reviewing the code and trying to understand the limit of 25 seconds. Is that due to the original 'dia' code being limited in how it runs? It doesn't seem to be a resource issue, per se.
There is an issue on their Github with a suggested fix: https://github.com/nari-labs/dia/issues/35
The script takes text from an input file, splits it into manageable chunks, converts each chunk to speech independently, and then concatenates them into a single audio file. This chunking approach allows for processing longer texts.
This has been fixed using the new large text chunking/splitting feature in version 1.4.