K-RT-Dev / VGT

Program to translate Japanese text through image recognition and GPT 3.5
MIT License
62 stars 5 forks source link

Feature Request: Resubmit only translation #6

Open rDarge opened 1 year ago

rDarge commented 1 year ago

Occasionally OpenAI's API will be down - when this happens if I submit a new clip to be translated it just returns "Error". I'd like to be able to hit a button to resubmit just the last step of the translation process to the API, rather than have to make a new sample and OCR again.

Something like the following: output.webm

You mentioned you would be overhauling the options for translation services here, so maybe you've already done something like this; otherwise I think it would be a good addition even across different translation services.

rDarge commented 1 year ago

I've got a prototype working in my fork here: https://github.com/rDarge/VGT/commit/edd43921bcb14aada02f4bcb9296689fba75e9ea

If this sounds good to you, I can push it into an isolated branch and get it ready for PR w/ any feedback.

K-RT-Dev commented 1 year ago

Yes! This is something that was missing. Please send it to a branch. I think it will be necessary to modify it when the system with multiple translation engines is ready, but as a foundation, it's great.

rDarge commented 1 year ago

Cool, stay tuned for that - I should have something ready to go by the end of the week.