From 47f53af20d8ddba574f729969ef69fbf51897ae8 Mon Sep 17 00:00:00 2001 From: Jonathan Soo Date: Mon, 8 May 2023 09:35:09 -0400 Subject: [PATCH] Make SamplingStrategy Debug + Clone --- src/whisper_params.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/whisper_params.rs b/src/whisper_params.rs index 493db09aba6..d875c3c96d4 100644 --- a/src/whisper_params.rs +++ b/src/whisper_params.rs @@ -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,