fix tsv file ext

This commit is contained in:
Max Bain
2023-01-28 17:39:07 +00:00
parent df2b1b70cb
commit 50f3965fdb

View File

@ -499,7 +499,7 @@ def cli():
# save TSV # save TSV
if output_type in ["tsv", "all"]: 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) write_tsv(result_aligned["segments"], file=srt)
# save SRT word-level # save SRT word-level