From e291f828b5bc45b2eada237538190fd121ac83f8 Mon Sep 17 00:00:00 2001 From: Guilherme Pires Date: Tue, 6 Feb 2024 18:11:09 -0700 Subject: [PATCH] check output correctly --- process_debates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process_debates.py b/process_debates.py index 0e44f49..0bdea00 100644 --- a/process_debates.py +++ b/process_debates.py @@ -87,7 +87,7 @@ def transcribe_audio(audio_path, output_root): name = audio_path.stem - if (output_root / f"transcriptions/{name}.txt").exists(): + if (output_root / f"transcriptions/{name}.vtt").exists(): return Path(f"{output_root}/transcriptions").mkdir(exist_ok=True, parents=True)