Change argument name for transcription
This commit is contained in:
parent
30fd269cd9
commit
f17639a637
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue