Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I switch from "ENG to JP" to "THAI to JP" in voice_translator ? #82

Open
tamto6666 opened this issue Mar 19, 2023 · 1 comment
Open

Comments

@tamto6666
Copy link

Can I switch from "ENG to JP" to "THAI to JP" in voice_translator ?

Thanks in advance.

@SociallyIneptWeeb
Copy link
Owner

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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants