diff --git a/verbanote/process.py b/verbanote/process.py index 703c037..5de8954 100644 --- a/verbanote/process.py +++ b/verbanote/process.py @@ -28,7 +28,7 @@ def diarize(audiofile: Path, pipeline: Pipeline, output_path: Path) -> Path: def transcribe( model: Whisper, diarized_groups: list, - output_path: Path, + files_path: Path, lang: str = "en", word_timestamps: bool = True, ) -> None: diff --git a/verbanote/rp_handler.py b/verbanote/rp_handler.py index e957e10..d98e0af 100644 --- a/verbanote/rp_handler.py +++ b/verbanote/rp_handler.py @@ -41,7 +41,7 @@ def handler(job): process.transcribe( model=whisper_model, diarized_groups=diarized_groups, - output_path=output_path, + files_path=output_path, lang=lang or "fr", word_timestamps=word_timestamps or True, )