]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
node : enable no_prints to suppress all output (#3189)
authorDaniel Bevenius <redacted>
Tue, 27 May 2025 03:51:47 +0000 (05:51 +0200)
committerGitHub <redacted>
Tue, 27 May 2025 03:51:47 +0000 (05:51 +0200)
commit450de0787e76f9c90a403428f0c00ecddc529c80
tree66b29f45c3bf00b927219715fc27df10e095082d
parentea9f206f18d86c4eb357db9fdc52e4d9dc24435e
node : enable no_prints to suppress all output (#3189)

This commit enable the node addon to suppress all output, even the
result of the transcription if the no_prints parameter is set to true.

The motivation for this is that for the node addon there is a
fullfilment handler/success callback to process the transcription
result. And it might be useful to be able to disable the printing of
the transcription result to the console, so that the user can handle
the result in their own way.

Refs: https://github.com/ggml-org/whisper.cpp/issues/3176
examples/addon.node/addon.cpp