-
Hello AllTalk Community, I’m having an issue with the narration feature in Portuguese. Even though I have the TG-webui Remove Trailing Dots: true option enabled, the narrator still reads the trailing dots at the end of sentences. Has anyone experienced this or have any suggestions on how to fix it? I would appreciate any help! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hi @arcanjotc Im guessing you are on AllTalk v1. Dots/periods, at least as far as Latin character set ones, should already be removed forcefully by this line: https://github.com/erew123/alltalk_tts/blob/main/script.py#L581 Its possible there could be Portuguese specific characters sets that are in use, such as: Standard ASCII period (.) - U+002E Im not sure if its one of those you may be seeing. You could edit those lines in your
and replace it with:
Which is a far more aggressive variation of removing trailing dots. It just really comes back to what the dots actually are. Also, I am assuming you are seeing them at the AllTalk console output as being part of the TTS generation. They would NOT be removed from what you see on screen in Text-Gen-Webui, they would be stripped when they are passed over to AllTalk and would not be visible in AllTalk's command line output. Thanks |
Beta Was this translation helpful? Give feedback.
To do that would be completely custom code to do something like that....