From 0bc3673eb05a9029a3cb482f2d8beffa8377c144 Mon Sep 17 00:00:00 2001 From: jinye_huang Date: Thu, 24 Apr 2025 18:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E7=94=9F=E6=88=90?= =?UTF-8?q?=E6=A6=82=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/posterGen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/posterGen.py b/core/posterGen.py index 2f65e8c..7555bc9 100644 --- a/core/posterGen.py +++ b/core/posterGen.py @@ -68,7 +68,7 @@ class PosterGenerator: self.text_bg_dir = os.path.join(self.base_dir, "text_backgrounds") # 文本框底图目录 self.img_frame_posbility = 0.7 - self.text_bg_posbility = 0.7 + self.text_bg_posbility = 0 # 设置输出目录 if output_dir: self.output_dir = output_dir