Skip to content

Commit

Permalink
Make SamplingStrategy Debug + Clone
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsoo committed May 8, 2023
1 parent 0859b41 commit 47f53af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/whisper_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use std::ffi::{c_float, c_int, CString};
use std::marker::PhantomData;
use whisper_rs_sys::whisper_token;

#[derive(Debug, Clone)]
pub enum SamplingStrategy {
Greedy {
best_of: c_int,
Expand Down

0 comments on commit 47f53af

Please sign in to comment.