From 2a3615226eafc1ca6bd2668cc977aff3a128e126 Mon Sep 17 00:00:00 2001 From: Christopher Moyer Date: Wed, 18 Dec 2024 20:37:12 -0500 Subject: [PATCH] set model and don't delete file if requeing --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 48ad51d..a9a5c23 100644 --- a/src/main.rs +++ b/src/main.rs @@ -80,7 +80,6 @@ _|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""| {======|_|"""""|_|""""" Err(error) => { error!("Failed to transcribe {}, {}", &transcription_request.audio_file_path, error); - delete_file(path); return delivery.reject(BasicRejectOptions { requeue: true }).await.unwrap(); @@ -130,6 +129,7 @@ async fn transcribe_call(file_path: &Path) -> Result