mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-10-01 03:59:20 +02:00
whisper : add whisper_full_get_segment_no_speech_prob_from_state (#2716)
This commit is contained in:
@@ -6464,6 +6464,10 @@ float whisper_full_get_segment_no_speech_prob(struct whisper_context * ctx, int
|
||||
return ctx->state->result_all[i_segment].no_speech_prob;
|
||||
}
|
||||
|
||||
float whisper_full_get_segment_no_speech_prob_from_state(struct whisper_state * state, int i_segment) {
|
||||
return state->result_all[i_segment].no_speech_prob;
|
||||
}
|
||||
|
||||
// =================================================================================================
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user