From c8eabc01fc284de4951438f099598f81787baf0c Mon Sep 17 00:00:00 2001 From: "kyj@bowong.ai" Date: Wed, 16 Jul 2025 15:35:51 +0800 Subject: [PATCH] =?UTF-8?q?PERF=20=E4=BC=98=E5=8C=96=E5=8D=B3=E6=A2=A6?= =?UTF-8?q?=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodes/image_gesture_nodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes/image_gesture_nodes.py b/nodes/image_gesture_nodes.py index db237b1..1b31523 100644 --- a/nodes/image_gesture_nodes.py +++ b/nodes/image_gesture_nodes.py @@ -291,7 +291,7 @@ class JMGestureCorrect: CATEGORY = "不忘科技-自定义节点🚩/图片/姿态" def gen(self, image: torch.Tensor): - wait_time = 120 + wait_time = 240 interval = 2 client = JMUtils() image_io = client.tensor_to_io(image) @@ -332,6 +332,7 @@ class JMCustom: "default": "Stand straight ahead, facing the camera, showing your full body, maintaining a proper posture, keeping the camera still, and ensuring that your head and feet are all within the frame", "multiline": True}), "duration": ("INT", {"default": 5, "min": 2, "max": 10}), + "wait_time": ("INT", {"default": 180, "min": 60, "max": 600}), } } @@ -340,8 +341,7 @@ class JMCustom: FUNCTION = "gen" CATEGORY = "不忘科技-自定义节点🚩/视频/即梦" - def gen(self, image: torch.Tensor, prompt: str, duration: int): - wait_time = 120 + def gen(self, image: torch.Tensor, prompt: str, duration: int, wait_time: int): interval = 2 client = JMUtils() image_io = client.tensor_to_io(image)