Closed voidpenguin-28 closed 1 month ago
@hotdogman1234
Can you provide the following information:
My initial theory is that it might be Gemini itself being the problem here (the API returning the translation twice).
Hi Sir Penguin,
I'm using gemini 1.5 flash just like you recommended
As for the debug mode, I don't know how to do that.
The double translation is only appearing on the main app, in the screenshot I provided, but in a separate window, it's only showing the translation once
DebugMode can be enabled by opening Textractor.ini in a text editor. Then in the settings for the extension, set DebugMode=1.
This will make all API request data log to gpt-request-log.txt.
This will help me narrow down the root cause.
On Thu, Oct 3, 2024, 9:47 AM hotdogman1234 @.***> wrote:
Hi Sir Penguin,
I'm using gemini 1.5 flash just like you recommended
As for the debug mode, I don't know how to do that.
The double translation is only appearing on the main app, in the screenshot I provided, but in a separate window, it's only showing the translation once
— Reply to this email directly, view it on GitHub https://github.com/voidpenguin-28/Textractor-ExtraExtensions/issues/4#issuecomment-2391470398, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFGCGD2VFLYLM7Z2JKRRHVDZZVDGDAVCNFSM6AAAAABPJWHZOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJRGQ3TAMZZHA . You are receiving this because you authored the thread.Message ID: @.***>
Hi again sir voidpenguin-28
The incident appeared again. I uploaded the log as you've requested
Thanks!
Thank you. I have a few more questions.
1) Any of the lines repeat after the initial translation. Its very first translation will produce a normal result, the subsequent texts are doubled
2) Yes, I'm using the latest model
3) Sure.
I don't know where to find the remove repeated phrases 2 extension, I would like to add it as well
Ah, it's likely your extension list causing these problems. A few problems there:
Therefore, you should update your extension list to the following: Remove Repeated Characters Regex Filter Copy to Clipboard Textractor.VndbCharNameMapper Textractor.TranslationCache.Read Textractor.GptApiTranslate Textractor.TranslationCache.Write Extra Window Extra Newlines
As for "Remove Repeated Phrases 2", that extension should be in the root directory of Textractor:
I have updated the extensions order but now the english translation has disappeared
Here are two things to try out.
Thanks sir. It's working again now. I need to learn how to use the Name Mapper next because the translated names are wrong haha. Thanks a lot for all your help. I appreciate it. You're awesome!
Glad to help :)
As for the name mapping extension, you have to assign the VnId (from vndb) of the associated visual novel. For example, if you are reading "Clannad", the vndb link for Clannad is: https://vndb.org/v4
The 'v4' part of the url is the VnId of the visual novel.
Therefore, you would open up the Textractor.ini file, go to the [Textractor.VndbCharNameMapper] section, and under the 'VnIds' config value you would assign "VnIds=v4". Then the character names for Clannad would be mapped automatically.
AMAZING!!!! I was reading your tutorial on it but I got confused. Now I know it's that simple!
Issue reported by @hotdogman1234 in the Textractor GPT thread.