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(
|
def transcribe(
|
||||||
model: Whisper,
|
model: Whisper,
|
||||||
diarized_groups: list,
|
diarized_groups: list,
|
||||||
output_path: Path,
|
files_path: Path,
|
||||||
lang: str = "en",
|
lang: str = "en",
|
||||||
word_timestamps: bool = True,
|
word_timestamps: bool = True,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
|
@ -41,7 +41,7 @@ def handler(job):
|
||||||
process.transcribe(
|
process.transcribe(
|
||||||
model=whisper_model,
|
model=whisper_model,
|
||||||
diarized_groups=diarized_groups,
|
diarized_groups=diarized_groups,
|
||||||
output_path=output_path,
|
files_path=output_path,
|
||||||
lang=lang or "fr",
|
lang=lang or "fr",
|
||||||
word_timestamps=word_timestamps or True,
|
word_timestamps=word_timestamps or True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue