Skip to content

Commit dc46db7

Browse files
Make ImagePadForOutpaint return a 3 channel mask. (comfyanonymous#8157)
1 parent 7046983 commit dc46db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ def expand_image(self, image, left, top, right, bottom, feathering):
19401940

19411941
mask[top:top + d2, left:left + d3] = t
19421942

1943-
return (new_image, mask)
1943+
return (new_image, mask.unsqueeze(0))
19441944

19451945

19461946
NODE_CLASS_MAPPINGS = {

0 commit comments

Comments
 (0)