Dia-TTS-Server icon indicating copy to clipboard operation
Dia-TTS-Server copied to clipboard

Output longer than 25 seconds

Open bisonbet opened this issue 1 year ago • 2 comments

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.

bisonbet avatar Apr 23 '25 19:04 bisonbet

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.

devnen avatar Apr 23 '25 19:04 devnen

This has been fixed using the new large text chunking/splitting feature in version 1.4.

devnen avatar Apr 29 '25 02:04 devnen