[Bug]: TTS skips words when there is a line between text
Vorato opened this issue · comments
Describe the bug
Sometimes the Text-to-Speech will skip over a word or two if there is a newline in the comment, making many videos unusable
Reproduction Steps
I used elevenlabs voices, just find comments with newlines and some of them will have this "skip".
Expected behavior
The TTS reads all words.
Screenshots
No response
System Information
Operating System : Ubuntu 22.04
Python version : Python 3.10.12
App version / Branch : latest
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
Additional Context
There is a duplicate but it has been marked as stale and no useful info has come out of it.
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.
i'd just trim the blank lines from the file, you can do that with sed '/^[[:space:]]*$/d' <[INFILE] >[OUTFILE]
or overwrite the same file with the -i
flag
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.
Issue closed due to being stale. Please reopen if issue persists in latest version.