You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addon.node : using whisper as a Node.js addon (ggml-org#443)
* addon: implement node addon call whisper through cpp
* addon: modify the license to MIT
* addon: remove iostream
* addon: rename dir
* addon: fix typo
* addon: configure cmake to build when cmake-js is used
This is an addon demo that can **perform whisper model reasoning in `node` and `electron` environments**, based on [cmake-js](https://github.com/cmake-js/cmake-js).
4
+
It can be used as a reference for using the whisper.cpp project in other node projects.
5
+
6
+
## Install
7
+
8
+
```shell
9
+
npm install
10
+
```
11
+
12
+
## Compile
13
+
14
+
Make sure it is in the project root directory and compiled with make-js.
15
+
16
+
```shell
17
+
npx cmake-js compile -T whisper-addon
18
+
```
19
+
20
+
For Electron addon and cmake-js options, you can see [cmake-js](https://github.com/cmake-js/cmake-js) and make very few configuration changes.
0 commit comments