Open tamto6666 opened 1 year ago
Can I switch from "ENG to JP" to "THAI to JP" in voice_translator ?
Thanks in advance.
You can, but you have to change some of the code in src/voice_translator.py. At Line 64, replace eng_speech = transcribe(MIC_AUDIO_PATH) with eng_speech = translate(MIC_AUDIO_PATH, 'th')
eng_speech = transcribe(MIC_AUDIO_PATH)
eng_speech = translate(MIC_AUDIO_PATH, 'th')
Can I switch from "ENG to JP" to "THAI to JP" in voice_translator ?
Thanks in advance.