-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
96% of the way through a 24 hour generation and I am hit with a Too much text error. How do I break up the line without starting over? #68
Comments
I found a fix, go to the folder for the Audiobook Maker and go to audiobooks > (youraudiobooknamefolder) > text_audio_map.json. Then, find the line that is too long (look for largest number .wav and it will lead you to where the failed line should be) and shorten it. I have not tested how this affects the audio but the script has continued. |
Ooh yeah, this is an issue with tortoise and I may need to handle it better with my segmeneter and tortoise. For now, your fix will work. Also, 700 pages, that's wild! Glad to hear it's being used to good use |
Thank you so much for the reply! Unfortunately the export failed, something about segment length? I will reply in a bit with the error as I will try it again. Do I need to modify the segment length to fit the new sentence or something? I cut the segment that was too long in half so it may have problems with the audio clip length. |
Swapped out my user for _ in this sippet. |
Hi, I recently purchased the audiobook maker and I think it's really swell! I had this problem myself and found a nice work around. I've played around with ollama and anythingllm but I found that if you use chatgpt and upload the .txt file you would have placed in the audiobook maker, and enter the prompt: "Apply these rules to reformat the uploaded text: Clause Separation: Each clause is placed on a separate line, ensuring no sentence runs onto the next line. If a sentence exceeds 25 words: No phrases will be deleted from the original text. ^ It's a neat little hack if your GPU isn't strong enough to generate massive lines of TTS. I'm currently generating a text doc and I'm still checking to see if it turned out okay, but so far, listening to the lines there doesn't seem to be a problem. Thought I would share in case this helps anyone else! Update: -this is definitely not a perfect fix; chatgpt seems to omit entire phrases and some clauses still are broken as they go from one line to the next and the audiobook maker pauses in between sentences; still working on seeing if there's a better way of doing this process. |
Thank you very much for the solution! I no longer need the textbook I originally was trying to make an audiobook out of but I am glad there is a solution! |
I was doing a 700 page textbook when I discovered an error at 96% completion stating the following:
RuntimeError: Possible latent mismatch: try recomputing voice latents. Error: Too much text provided. Break the text up into separate segments and re-try inference.
Now this line is fairly long but I can't seem to find any way to just skip this line or break up this line. Is there any way for me to save this?
The text was updated successfully, but these errors were encountered: