From 4c13885fcdc4e6de11cd2fec11aef35082dace89 Mon Sep 17 00:00:00 2001 From: BVH <82035780+bvhari@users.noreply.github.com> Date: Thu, 25 May 2023 16:19:24 +0530 Subject: [PATCH] Fixed Sigmoid Correction Gain is now float instead of int --- imageprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageprocessing.py b/imageprocessing.py index c4e7777..84e9d27 100644 --- a/imageprocessing.py +++ b/imageprocessing.py @@ -125,7 +125,7 @@ class SigmoidCorrection: def INPUT_TYPES(s): return {"required": {"images": ("IMAGE", ), "cutoff": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.01}), - "gain": ("INT", {"default": 5, "min": 1, "max": 100, "step": 1}), + "gain": ("FLOAT", {"default": 5.0, "min": 1.0, "max": 10.0, "step": 0.01}), }} RETURN_TYPES = ("IMAGE",) FUNCTION = "sigmoid"