Merge pull request #53 from jcsoo/sampling-strategy-derives
This commit is contained in:
commit
b2cd88432f
1 changed files with 1 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ use std::ffi::{c_float, c_int, CString};
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use whisper_rs_sys::whisper_token;
|
use whisper_rs_sys::whisper_token;
|
||||||
|
|
||||||
|
#[derive(Debug, Clone)]
|
||||||
pub enum SamplingStrategy {
|
pub enum SamplingStrategy {
|
||||||
Greedy {
|
Greedy {
|
||||||
best_of: c_int,
|
best_of: c_int,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue