how to build it:
create a .env file in root directory with OPENAI_API_KEY=your apiKey
For implementing Whisper on Mobile, you can refer to the following project: nyadla-sys/whisper.tflite
To run this code, please note the following:
- Real Device Required: This implementation must be tested and run on a real Android device.
- Model Files: You need to download the model files and place them in the
assets/model/
directory located in the root of your project.-
Source: The model files can be obtained from the following repository: nyadla-sys/whisper.tflite
-
You can use the following model files:
Model File Description filters_vocab_en.bin
English vocabulary file whisper-tiny-en.tflite
Tiny English model file filters_vocab_multilingual.bin
Multilingual vocabulary file whisper-tiny.tflite
Tiny multilingual model file screen-20240831-134526.mp4
-