mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Update subgen.py
This commit is contained in:
1 parent
b9c9264568
commit
0dc9b09e1d
1 file changed
+1
@@ -297,6 +297,7 @@ def gen_subtitles(file_path: str, transcribe_or_translate_str: str, front=True)
|
||||
except Exception as e:
|
||||
print(f"Error processing or transcribing {file_path}: {e}")
|
||||
finally:
|
||||
if file_path in files_to_transcribe:
|
||||
files_to_transcribe.remove(file_path)
|
||||
delete_model()
|
||||
|
||||
|
||||
Reference in new issue
Block a user