add SamplingStrategy default
This commit is contained in:
parent
edac524756
commit
ad9146aa91
1 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ pub enum SamplingStrategy {
|
|||
},
|
||||
}
|
||||
|
||||
impl Default for SamplingStrategy {
|
||||
fn default() -> Self {
|
||||
Self::Greedy { best_of: 1 }
|
||||
}
|
||||
}
|
||||
|
||||
pub struct FullParams<'a, 'b> {
|
||||
pub(crate) fp: whisper_rs_sys::whisper_full_params,
|
||||
phantom_lang: PhantomData<&'a str>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue