whisper.cpp/examples/whisper.android
Georgi Gerganov 472464453d ci : disable CUDA and Android builds 2024-12-08 20:14:35 +02:00
..
.idea
app
gradle/wrapper
lib ci : disable CUDA and Android builds 2024-12-08 20:14:35 +02:00
.gitignore
README.md ggml : remove OpenCL (#0) 2024-06-16 18:19:48 +03:00
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

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.

(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

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