From af3fc0665561bcb5798a2be4f61778825958a99f Mon Sep 17 00:00:00 2001 From: Christopher Moyer Date: Tue, 17 Dec 2024 18:25:32 -0500 Subject: [PATCH] actually pass audio file to whisperx --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f5c83f1..13c7bfe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -93,7 +93,7 @@ fn transcribe_call(file_path: &Path) { .args(["--compute_type", "int8"]) .args(["--output_format", "txt"]) .args(["--output_dir", output_directory.parent().unwrap().to_str().unwrap()]) - .arg("file") + .arg(file_path) .output().expect("TODO: panic message"); info!("Transcription done, {}", &output.status); info!("Std out: {}", String::from_utf8_lossy(&output.stdout));