Change argument name for transcription

This commit is contained in:
Marty Oehme 2023-08-23 15:07:48 +02:00
parent 30fd269cd9
commit f17639a637
Signed by: Marty
GPG Key ID: EDBF2ED917B2EF6A
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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,
)