From 3325752f02ecc7fbc3a6ff534d02d4e2d8c4f833 Mon Sep 17 00:00:00 2001 From: hmo Date: Mon, 4 May 2026 00:11:59 +0800 Subject: [PATCH] feat: add ppt_path and max_total_duration to generated_config.yaml --- src/core/ppt_parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/ppt_parser.py b/src/core/ppt_parser.py index 844c037..0a927d3 100644 --- a/src/core/ppt_parser.py +++ b/src/core/ppt_parser.py @@ -1054,6 +1054,8 @@ class PPTParser: """创建配置字典""" return { "video_src": self.video_path, + "ppt_path": self.ppt_path, + "max_total_duration": self.max_total_duration, "clips": clips, "output_dir": self.output_dir, "term_corrections": self.term_corrections,