optimize subtitle segmentation

optimize code
This commit is contained in:
harry
2024-04-15 11:29:04 +08:00
parent 9a1ee9abfb
commit bd33419460
3 changed files with 10 additions and 0 deletions

View File

@@ -63,3 +63,5 @@ if imagemagick_path and os.path.isfile(imagemagick_path):
ffmpeg_path = app.get("ffmpeg_path", "")
if ffmpeg_path and os.path.isfile(ffmpeg_path):
os.environ["IMAGEIO_FFMPEG_EXE"] = ffmpeg_path
logger.info(f"{project_name} v{project_version}")