Skip to content

Commit bd8890b

Browse files
committed
Revert "Fix create gradient mask node output"
This reverts commit 9d1fcba.
1 parent 416d29f commit bd8890b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

invokeai/app/invocations/create_gradient_mask.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ def invoke(self, context: InvocationContext) -> GradientMaskOutput:
9393

9494
# redistribute blur so that the original edges are 0 and blur outwards to 1
9595
blur_tensor = (blur_tensor - 0.5) * 2
96-
blur_tensor[blur_tensor < 0] = 0.0
9796

9897
threshold = 1 - self.minimum_denoise
9998

0 commit comments

Comments
 (0)