Chatterbox-TTS-Extended icon indicating copy to clipboard operation
Chatterbox-TTS-Extended copied to clipboard

Silent crash when converting complicated paragraph

Open Iris-Colt-IF opened this issue 5 months ago • 1 comments

[DEBUG] Selected temp/gen1_chunk_000_cand_1_try2_seed2481801773.wav as best candidate for chunk 0 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_001_cand_3_try1_seed1283536064.wav as best candidate for chunk 1 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_002_cand_1_try1_seed3681611250.wav as best candidate for chunk 2 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_003_cand_2_try1_seed1096766912.wav as best candidate for chunk 3 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_004_cand_1_try1_seed3681611250.wav as best candidate for chunk 4 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_005_cand_3_try1_seed1283536064.wav as best candidate for chunk 5 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_006_cand_2_try1_seed4097080492.wav as best candidate for chunk 6 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_007_cand_2_try1_seed1965616332.wav as best candidate for chunk 7 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_008_cand_3_try1_seed1053490664.wav as best candidate for chunk 8 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_009_cand_2_try1_seed3326725125.wav as best candidate for chunk 9 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_010_cand_3_try1_seed3326725125.wav as best candidate for chunk 10 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_011_cand_1_try1_seed3681611250.wav as best candidate for chunk 11 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_012_cand_2_try1_seed1965616332.wav as best candidate for chunk 12 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_013_cand_1_try1_seed3681611250.wav as best candidate for chunk 13 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_014_cand_2_try1_seed3326725125.wav as best candidate for chunk 14 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_015_cand_2_try1_seed4097080492.wav as best candidate for chunk 15 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_016_cand_2_try1_seed1053490664.wav as best candidate for chunk 16 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_017_cand_2_try1_seed4097080492.wav as best candidate for chunk 17 (PASSED Whisper check) [DEBUG] Selected temp/gen1_chunk_018_cand_2_try1_seed1283536064.wav as best candidate for chunk 18 (PASSED Whisper check) [WARNING] No candidate passed for chunk 19. Using failed candidate with longest transcript: temp/gen1_chunk_019_cand_3_try3_seed3854796277.wav (len=980) (my_venv) (base) PS C:\chatterbox-extended\

... then silently crashes.

The input text was:

You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool that is insufficiently sophisticated to understand the constructs employed by HTML. HTML is not a regular language and hence cannot be parsed by regular expressions. Regex queries are not equipped to break down HTML into its meaningful parts. so many times but it is not getting to me. Even enhanced irregular regular expressions as used by Perl are not up to the task of parsing HTML. You will never make me crack. HTML is a language of sufficient complexity that it cannot be parsed by regular expressions. Even Jon Skeet cannot parse HTML using regular expressions. Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. Parsing HTML with regex summons tainted souls into the realm of the living. HTML and regex go together like love, marriage, and ritual infanticide. The

cannot hold it is too late. The force of regex and HTML together in the same conceptual space will destroy your mind like so much watery putty. If you parse HTML with regex you are giving in to Them and their blasphemous ways which doom us all to inhuman toil for the One whose Name cannot be expressed in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the n​erves of the sentient whilst you observe, your psyche withering in the onslaught of horror. Rege̿̔̉x-based HTML parsers are the cancer that is killing StackOverflow it is too late it is too late we cannot be saved the transgression of a chi͡ld ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) dear lord help us how can anyone survive this scourge using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes using regex as a tool to process HTML establishes a breach between this world and the dread realm of c͒ͪo͛ͫrrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of reg​ex parsers for HTML will ins​tantly transport a programmer's consciousness into a world of ceaseless screaming, he comes, the pestilent slithy regex-infection wil​l devour your HT​ML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fi​ght he com̡e̶s, ̕h̵i​s un̨ho͞ly radiańcé destro҉ying all enlightenment, HTML tags lea͠ki̧n͘g fr̶ǫm ̡yo​͟ur eye͢s̸ ̛l̕ik͏e liq​uid pain, the song of re̸gular exp​ression parsing will exti​nguish the voices of mor​tal man from the sp​here I can see it can you see î̩́t it is beautiful t​he final snuffing of the lie​s of Man ALL IS LOST ALL I​S LOST the pon̷y he comes he c̶̮omes he comes the ich​or permeates all MY FACE MY FACE ᵒh god no NO NOO̼O​O NΘ stop the an​*​gle̠̅s ͎a̧͈͖re n​ot reaͨl ZALGΌ IS TOƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚​N̐Y̡ HE COMES

Have you tried using an XML parser instead?

Iris-Colt-IF avatar Jul 02 '25 15:07 Iris-Colt-IF

Try deselecting "faster-whisper" for the validation. This way it uses the normal WhisperSync. This may resolve the issue.

petermg avatar Aug 02 '25 18:08 petermg