whisper.rn 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/cpp/ggml.c +8616 -0
- package/cpp/ggml.h +748 -0
- package/cpp/whisper.cpp +4814 -0
- package/cpp/whisper.h +393 -0
- package/jest/mock.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -41,14 +41,14 @@ const { result } = await whisperContext.transcribe(sampleFilePath, {
|
|
|
41
41
|
|
|
42
42
|
The example app is using [react-native-fs](https://github.com/itinance/react-native-fs) to download the model file and audio file.
|
|
43
43
|
|
|
44
|
-
Model: `base.en` in https://huggingface.co/datasets/ggerganov/whisper.cpp
|
|
44
|
+
Model: `base.en` in https://huggingface.co/datasets/ggerganov/whisper.cpp
|
|
45
45
|
Sample file: `jfk.wav` in https://github.com/ggerganov/whisper.cpp/tree/master/samples
|
|
46
46
|
|
|
47
47
|
For test better performance on transcribe, you can run the app in Release mode.
|
|
48
48
|
- iOS: `yarn example ios --configuration Release`
|
|
49
49
|
- Android: `yarn example android --mode release`
|
|
50
50
|
|
|
51
|
-
Please follow [
|
|
51
|
+
Please follow the [Development Workflow section of contributing guide](./CONTRIBUTING.md#development-workflow) to run the example app.
|
|
52
52
|
|
|
53
53
|
## Mock `whisper.rn`
|
|
54
54
|
|