]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper.wasm : fix unknown language issue (#3000)
authorDaniel Bevenius <redacted>
Thu, 3 Apr 2025 17:50:47 +0000 (19:50 +0200)
committerGitHub <redacted>
Thu, 3 Apr 2025 17:50:47 +0000 (19:50 +0200)
commit77e0c86ab62eda9392a8567f4c29ab8d140cb0ba
tree6ac91cc5e65b9b7c3b16f43c9017aa5120ba0c7f
parenteac1bc9c4729c15819d21923064f45845f76a15b
whisper.wasm : fix unknown language issue (#3000)

* whisper.wasm : fix unknown language issue

This commit addresses an issue with whisper.wasm where the following
error was being displayed when running the application in github pages:
```
whisper_lang_id: unknown language 'д=␙c'
```

This turned out to be a memory corruption issue and further details
can be found in the reference issue below.

Refs: https://github.com/ggerganov/whisper.cpp/issues/2998
examples/whisper.wasm/emscripten.cpp