mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 15:36:08 +00:00
Update subgen.py
Fixed error/logging issue.
This commit is contained in:
1 parent
94a254996c
commit
7ae5f72d5d
1 file changed
+1
-1
+1
-1
@@ -300,7 +300,7 @@ def gen_subtitles(file_path: str, transcribe_or_translate_str: str, front=True)
|
|||||||
print(f"File {os.path.basename(file_path)} is already in the transcription list. Skipping.")
|
print(f"File {os.path.basename(file_path)} is already in the transcription list. Skipping.")
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error processing or transcribing {video_file_path}: {e}")
|
print(f"Error processing or transcribing {file_path}: {e}")
|
||||||
finally:
|
finally:
|
||||||
delete_model()
|
delete_model()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user