actually pass audio file to whisperx
This commit is contained in:
parent
415cebf942
commit
af3fc06655
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue