File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -196,10 +196,8 @@ class InfillPatchMatchInvocation(BaseInvocation):
196196 """Infills transparent areas of an image using the PatchMatch algorithm"""
197197
198198 image : ImageField = InputField (description = "The image to infill" )
199- downscale : Optional [float ] = InputField (
200- default = 2.0 , gt = 0 , description = "Run patchmatch on downscaled image to speedup infill"
201- )
202- resample_mode : Optional [PIL_RESAMPLING_MODES ] = InputField (default = "bicubic" , description = "The resampling mode" )
199+ downscale : float = InputField (default = 2.0 , gt = 0 , description = "Run patchmatch on downscaled image to speedup infill" )
200+ resample_mode : PIL_RESAMPLING_MODES = InputField (default = "bicubic" , description = "The resampling mode" )
203201
204202 def invoke (self , context : InvocationContext ) -> ImageOutput :
205203 image = context .services .images .get_pil_image (self .image .image_name ).convert ("RGBA" )
You can’t perform that action at this time.
0 commit comments