Android demo app: Multilingual support? #549
-
Hello everyone. Today, I successfully was able to launch the android demo app on my physical device, however I noticed one thing: it doesn't seem to support any languages other than transcribing in English. Either that, or I'm blind as I am particularly new to programming for Android. I'd also like to mention that the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
Hey , Can you please tell me how to build the android app . I have no experience in android development . If you can please share the apk |
Beta Was this translation helpful? Give feedback.
-
@darlingtonplate For now you should hard-code 2-characters language parameter Available languages: https://github.com/ggerganov/whisper.cpp/blob/master/whisper.cpp#L119 |
Beta Was this translation helpful? Give feedback.
-
I've tried to build the apk from the android demo of whisper.cpp. but I got the following error : [CXX1405] error when building with ndkBuild using D:\whisper_cpp\whisper.android\app\src\main\jni\whisper\Android.mk: C++ build system [configure] failed while executing: can anyone please help me on that |
Beta Was this translation helpful? Give feedback.
-
I have made a ci script to build Android demo with model & language choose. https://github.com/tumuyan/whisper.cpp/blob/master/.github/workflows/build-android.yml |
Beta Was this translation helpful? Give feedback.
@darlingtonplate For now you should hard-code 2-characters language parameter
params.language
at:https://github.com/ggerganov/whisper.cpp/blob/master/examples/whisper.android/app/src/main/jni/whisper/jni.c#L182
Available languages: https://github.com/ggerganov/whisper.cpp/blob/master/whisper.cpp#L119