Skip to content

Commit 4c13885

Browse files
authored
Fixed Sigmoid Correction
Gain is now float instead of int
1 parent ba55f15 commit 4c13885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imageprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class SigmoidCorrection:
125125
def INPUT_TYPES(s):
126126
return {"required": {"images": ("IMAGE", ),
127127
"cutoff": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.01}),
128-
"gain": ("INT", {"default": 5, "min": 1, "max": 100, "step": 1}),
128+
"gain": ("FLOAT", {"default": 5.0, "min": 1.0, "max": 10.0, "step": 0.01}),
129129
}}
130130
RETURN_TYPES = ("IMAGE",)
131131
FUNCTION = "sigmoid"

0 commit comments

Comments
 (0)