feat: large v3 turbo dtw preset

This commit is contained in:
newfla 2024-11-23 19:50:38 +01:00
parent 71ab110e04
commit c1c2377456

View file

@ -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;
}
},
}
@ -649,6 +653,7 @@ pub enum DtwModelPreset {
LargeV1,
LargeV2,
LargeV3,
LargeV3Turbo,
}
#[cfg(test)]