server : add no-speech threshold parameter and functionality (#2654)

This commit is contained in:
Sacha Arbonel
2024-12-21 16:00:08 +01:00
committed by GitHub
parent f4668169a0
commit 4183517076
3 changed files with 15 additions and 3 deletions

View File

@ -665,6 +665,8 @@ extern "C" {
WHISPER_API void whisper_log_set(ggml_log_callback log_callback, void * user_data);
// Get the no_speech probability for the specified segment
WHISPER_API float whisper_full_get_segment_no_speech_prob (struct whisper_context * ctx, int i_segment);
#ifdef __cplusplus
}
#endif