clone-voice
clone-voice copied to clipboard
The character limit
Hello.
When using Text -> Speech in the console I get the following text:
[!] Warning: The text length exceeds the character limit of 182 for language 'ru', this might cause truncated audio.
Is it possible to increase the character limit? If yes, how?
install from source code
venv/Lib/site-packages/TTS/tts/layers/xtts/tokenizer.py line 597
But it may cause unpredictable problems. It is recommended to change the comma in overly long sentences to a period
This variant doesn't change anything, as the text generation itself doesn't seem to be affected in any way, if there are more than a certain number of characters, it starts to "glitch" and the result is very distorted.
I am more interested in how, for example, to make it read a book? After all, in the current form, it is simply impossible.
If the sentence length is determined by dividing it by periods, for example, if it exceeds 182 in Russian, it will prompt an error. There are two solutions: one is to change the comma to a period, and the other is to modify the character.json file in the clone directory, changing 182 to 300 or larger.
update to v0.888