/whisper-android

Awesome android example for whisper

Primary LanguageC

A sample Android app using whisper.cpp to do voice-to-text transcriptions.

  • Just build it and then can try this application without more steps

  • To Customize models, please follow below steps:

  1. Select a model from the whisper.cpp repository.1
  2. Copy the model to the "app/src/main/assets/models" folder.
  3. Select a sample audio file (for example, jfk.wav).
  4. Copy the sample to the "app/src/main/assets/samples" folder.
  5. Select the "release" active build variant, and use Android Studio to run and deploy to your device.

(PS: Do not move this android project folder individually to other folders, because this android project folder depends on the files of the whole project.)

image

Footnotes

  1. I recommend the tiny or base models for running on an Android device.