tortoise-tts icon indicating copy to clipboard operation
tortoise-tts copied to clipboard

Too much text provided. Break the text up into separate segments and re-try inference.'

Open tralala87 opened this issue 2 years ago • 2 comments

Hi.

How do I need to change the code, to be able to use longer texts and not get this error: Too much text provided. Break the text up into separate segments and re-try inference.

tralala87 avatar Nov 29 '22 00:11 tralala87

Use read.py or write your own script to break up the text and feed it the API one at a time.

On Mon, Nov 28, 2022 at 5:57 PM tralala87 @.***> wrote:

Hi.

How do I need to change the code, to be able to use longer texts and not get this error: Too much text provided. Break the text up into separate segments and re-try inference.'

— Reply to this email directly, view it on GitHub https://github.com/neonbjb/tortoise-tts/issues/206, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGLMOUTUWT3TGEH3SKSJSTWKVIGZANCNFSM6AAAAAASN5LUCE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

James Betker

neonbjb avatar Nov 29 '22 19:11 neonbjb

@tralala87 you can split the text to the punctuation split(".") render each wav, then merge all wav files in the right order together.

snapo avatar Dec 08 '22 17:12 snapo