Skip to content

Commit

Permalink
Merge pull request #192 from newfla/feat_v3_turbo_preset
Browse files Browse the repository at this point in the history
feat: large v3 turbo dtw preset
  • Loading branch information
tazz4843 authored Nov 29, 2024
2 parents 71ab110 + c1c2377 commit d3fe24a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/whisper_ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,10 @@ impl<'a> WhisperContextParameters<'a> {
dtw_aheads_preset =
whisper_rs_sys::whisper_alignment_heads_preset_WHISPER_AHEADS_LARGE_V3;
}
DtwModelPreset::LargeV3Turbo => {
dtw_aheads_preset =
whisper_rs_sys::whisper_alignment_heads_preset_WHISPER_AHEADS_LARGE_V3_TURBO;
}
},
}

Expand Down Expand Up @@ -649,6 +653,7 @@ pub enum DtwModelPreset {
LargeV1,
LargeV2,
LargeV3,
LargeV3Turbo,
}

#[cfg(test)]
Expand Down

0 comments on commit d3fe24a

Please sign in to comment.