Update subgen.py

Fixed variable typo
This commit is contained in:
Ellison Patterson
2023-10-30 15:01:16 -04:00
committed by GitHub
parent 6177d17965
commit b4e46d22f0

View File

@@ -338,7 +338,7 @@ def transcribe_existing():
for file in files:
file_path = os.path.join(root, file)
if is_video_file(file_path):
gen_subtitles(path_mapping(fullpath), transcribe_or_translate, False)
gen_subtitles(path_mapping(file_path), transcribe_or_translate, False)
print("Finished searching and queueing files for transcription")