From 5197ad383623391b62ea64c76cf601cd28eec6ec Mon Sep 17 00:00:00 2001 From: chflame163 Date: Tue, 4 Mar 2025 21:11:12 +0800 Subject: [PATCH] fix size number bug --- py/cogview4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/cogview4.py b/py/cogview4.py index 14005cc..3bbf24e 100644 --- a/py/cogview4.py +++ b/py/cogview4.py @@ -39,8 +39,8 @@ class CogView4_Wrapper: "guidance_scale": ("FLOAT", {"default": 5, "min": 0.1, "max": 100, "step": 0.1}), "batch_size": ("INT", {"default": 1, "min": 1, "max": 100, "step": 1}), "steps": ("INT", {"default": 30, "min": 1, "max": 100, "step": 1}), - "width": ("INT", {"default": 1024, "min": 8, "max": 4096, "step": 16}), - "height": ("INT", {"default": 1024, "min": 8, "max": 4096, "step": 16}), + "width": ("INT", {"default": 1024, "min": 16, "max": 4096, "step": 16}), + "height": ("INT", {"default": 1024, "min": 16, "max": 4096, "step": 16}), "cache_model": ("BOOLEAN", {"default": True,}), }, "optional": {