Skip to content

Commit

Permalink
webvtt format instead
Browse files Browse the repository at this point in the history
  • Loading branch information
colobas committed Feb 6, 2024
1 parent cbd9f3c commit 2e93465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process_debates.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def transcribe_audio(audio_path, output_root):

# keep only the .txt and .srt files
for f in Path(f"{output_root}/transcriptions").glob("*"):
if f.suffix not in [".srt", ".json"]:
if f.suffix not in [".vtt", ".json"]:
f.unlink()


Expand Down

0 comments on commit 2e93465

Please sign in to comment.