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
// By default, models are loaded from ~/.cache/whisper/ and are usually named "ggml-${name}.bin"
20
19
// or you can provide the absolute path to the model file.
21
-
whisper.initContext("base.en");
22
-
23
-
long context = whisper.initContext(modelpath);
20
+
long context = whisper.initContext("base.en");
24
21
try {
25
22
whisper.fullTranscribe(context, samples);
26
23
@@ -47,6 +44,13 @@ cd whisper.cpp/bindings/java
47
44
./gradlew build
48
45
```
49
46
47
+
You need to have the `whisper` library in your [JNA library path](https://java-native-access.github.io/jna/4.2.1/com/sun/jna/NativeLibrary.html). On Windows the dll is included in the jar and you can update it:
The license for the Go bindings is the same as the license for the rest of the whisper.cpp project, which is the MIT License. See the `LICENSE` file for more details.
0 commit comments