From 50f3965fdb292f01e10e768186d427108fa99612 Mon Sep 17 00:00:00 2001 From: Max Bain Date: Sat, 28 Jan 2023 17:39:07 +0000 Subject: [PATCH] fix tsv file ext --- whisperx/transcribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisperx/transcribe.py b/whisperx/transcribe.py index 52d13d3..25fbcad 100644 --- a/whisperx/transcribe.py +++ b/whisperx/transcribe.py @@ -499,7 +499,7 @@ def cli(): # save TSV if output_type in ["tsv", "all"]: - with open(os.path.join(output_dir, audio_basename + ".srt"), "w", encoding="utf-8") as srt: + with open(os.path.join(output_dir, audio_basename + ".tsv"), "w", encoding="utf-8") as srt: write_tsv(result_aligned["segments"], file=srt) # save SRT word-level