can specify source language to speak for whisper input other than english, add try catch sounddevice for better error to user for debug , better type casting (or may be worst??)
I cannot use deepL because i'm not in service area
by use google translate ajax call from https://translate.google.com lead to sometime you will get your IP blacklist by google and cannot use google service most of people might not get blacklist but I have.... and need to do captcha for days so I add an official Google Translation API to not risk it
I'm not sure that DeepL API call is still working require testing and I not in service area so.. I cannot
I'm not touch subtitler.py and its module because I'm not using it .....so some work might need to be done if you want to integrate my translator class to it
can specify source language to speak for whisper input other than english, add try catch sounddevice for better error to user for debug , better type casting (or may be worst??)
I cannot use deepL because i'm not in service area by use google translate ajax call from https://translate.google.com lead to sometime you will get your IP blacklist by google and cannot use google service most of people might not get blacklist but I have.... and need to do captcha for days so I add an official Google Translation API to not risk it
I'm not sure that DeepL API call is still working require testing and I not in service area so.. I cannot I'm not touch subtitler.py and its module because I'm not using it .....so some work might need to be done if you want to integrate my translator class to it