Skip to content

Commit

Permalink
whisper : minor compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Oct 29, 2024
1 parent 1626b73 commit 3f020fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whisper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6252,7 +6252,7 @@ int whisper_full_with_state(
// FIXME: will timestamp offsets be correct?
// [EXPERIMENTAL] Token-level timestamps with DTW
{
const auto n_segments = state->result_all.size() - n_segments_before;
const int n_segments = state->result_all.size() - n_segments_before;
if (ctx->params.dtw_token_timestamps && n_segments) {
const int n_frames = std::min(std::min(WHISPER_CHUNK_SIZE * 100, seek_delta), seek_end - seek);
whisper_exp_compute_token_level_timestamps_dtw(
Expand Down

0 comments on commit 3f020fa

Please sign in to comment.