whisper.cpp/examples/whisper.android
2023-01-16 21:57:35 +02:00
..
.idea
app whisper.android : add support for loading directly from asset in C (#415) 2023-01-16 21:57:35 +02:00
gradle/wrapper
.gitignore
build.gradle
gradle.properties
gradlew
gradlew.bat
README.md
settings.gradle

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

To use:

  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.
image

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