-
Notifications
You must be signed in to change notification settings - Fork 414
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
Support multilingual whisper models #274
Conversation
FYI: |
--whisper-language can be used on Android ASR? |
You can use it in the code. It is not exposed to users via the UI. |
|
You can follow the way about how to add encoder and decoder to add the language option. |
@csukuangfj , Thanks for your kind reply. |
please show error logs of your problem. |
I'm trying to build the project under the company's proxy. |
When I try using downloaded files, I got this error. FAILED: openfst-populate-prefix/src/openfst-populate-stamp/openfst-populate-patch D:/shepra/sherpa-onnx-master/android/SherpaOnnxVadAsr/app/.cxx/Debug/2g631h5d/x86/_deps/openfst-subbuild/openfst-populate-prefix/src/openfst-populate-stamp/openfst-populate-patch |
Our doc is for Linux and macOS. If you really want to use Windows, please refer to the following colab notebook |
Should I build so files on Linux not using Android Studio? |
Yes, yor are right. But Android Studio is needed if you need to build APKs. |
Ok, I see. |
Yes, it is possible. If you provide The related code is at
Instead of reading the |
Note you can use
to specify the spoken language in the input audio file or leave it empty to let the code infer the language from the input file
and
to do transcribe or translate.