Skip to content

Commit

Permalink
Update subgen.py
Browse files Browse the repository at this point in the history
Removed double is_video_file check.
  • Loading branch information
McCloudS authored Feb 5, 2024
1 parent ff8b465 commit 6a17b1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions subgen/subgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,7 @@ def transcribe_existing():
for root, dirs, files in os.walk(path):
for file in files:
file_path = os.path.join(root, file)
if is_video_file(file_path):
gen_subtitles(path_mapping(file_path), transcribe_or_translate, False)
gen_subtitles(path_mapping(file_path), transcribe_or_translate, False)

print("Finished searching and queueing files for transcription")

Expand Down

0 comments on commit 6a17b1b

Please sign in to comment.