Update subgen.py

Removed double is_video_file check.
This commit is contained in:
McCloudS
2024-02-05 11:42:16 -07:00
committed by GitHub
parent ff8b465ebd
commit 6a17b1b935

View File

@@ -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")