nyadla-sys / whisper.tflite

Optimized OpenAI's Whisper TFLite Port for Efficient Offline Inference on Edge Devices
MIT License
134 stars 29 forks source link

react native #19

Open sirramin opened 9 months ago

sirramin commented 9 months ago

Is it possible to run this model on react native projects ?

vilassn commented 9 months ago

@sirramin I tried to run whisper tflite model in react native. But, no luck.

If you are developing app for Android or iOS, you can run model in kotlin/java or swift/obj-c respectively. And then you can add react native wrapper.

sirramin commented 9 months ago

I can't find a suitable way to use TFlite models on react native for android. Altough there is module for Ios.

vilassn commented 9 months ago

@sirramin for android, you can write react native wrapper on top of java code.

Are you able to use react native directly on iOS ?

sirramin commented 9 months ago

@sirramin for android, you can write react native wrapper on top of java code.

Are you able to use react native directly on iOS ?

I didn't test it myself but I found this package: https://github.com/mrousavy/react-native-fast-tflite