Merge pull request #192 from newfla/feat_v3_turbo_preset

feat: large v3 turbo dtw preset
This commit is contained in:
Niko 2024-11-29 06:13:55 +00:00 committed by GitHub
commit d3fe24a512
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)]