]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : expose API to let user control log output (#1060)
authorEvan Martin <redacted>
Tue, 25 Jul 2023 15:58:25 +0000 (08:58 -0700)
committerGitHub <redacted>
Tue, 25 Jul 2023 15:58:25 +0000 (18:58 +0300)
commitfabf79fc6740e7ae67b423c58dbddf85232eb914
treeb4f44d3b8806c5f9ba7761302ca8bc2421c49140
parent925915ae3749d76b347573971ad63dee633c7470
whisper : expose API to let user control log output (#1060)

* expose api to let user control log output

Add
  whisper_set_log_callback()
that lets user set a callback for log messages.

Change all the
  fprintf(stderr, ...)
to call via the above.

* whisper : add <cstdarg>

---------

Co-authored-by: Georgi Gerganov <redacted>
whisper.cpp
whisper.h