Update subgen.py
This commit is contained in:
@@ -639,6 +639,7 @@ def transcribe_existing(transcribe_folders, forceLanguage=None):
|
||||
if has_audio(path):
|
||||
gen_subtitles(path_mapping(path), transcribe_or_translate, False, forceLanguage)
|
||||
# Set up the observer to watch for new files
|
||||
if monitor:
|
||||
observer = Observer()
|
||||
for path in transcribe_folders:
|
||||
if os.path.isdir(path):
|
||||
|
||||
Reference in New Issue
Block a user