Make SamplingStrategy Debug + Clone

This commit is contained in:
Jonathan Soo 2023-05-08 09:35:09 -04:00
parent 0859b41191
commit 47f53af20d

View file

@ -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,