]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : add version function (#3289)
authorDaniel Bevenius <redacted>
Thu, 26 Jun 2025 16:09:42 +0000 (18:09 +0200)
committerGitHub <redacted>
Thu, 26 Jun 2025 16:09:42 +0000 (18:09 +0200)
commit32cf4e2aba799aff069011f37ca025401433cf9f
treefb0ac0830a1c6f12ebb7bde373a6bda9d076ece6
parent35034c5aea48aa0da75c4d853ec7e8a3055adbc5
whisper : add version function (#3289)

* whisper : add version function

This commit adds a version function to the whisper API.

The motivation for this is that it might be convenient to have a way to
programmatically check the version.

Example usage:
```c++
printf("Using whisper version: %s\n", whisper_version());
```
Will output:
```console
Using whisper version: 1.7.6
```

* examples : add version to android example CMakeLists.txt
CMakeLists.txt
examples/whisper.android.java/app/src/main/jni/whisper/CMakeLists.txt
examples/whisper.android/lib/src/main/jni/whisper/CMakeLists.txt
include/whisper.h
src/whisper.cpp