Fixes invert mask

This commit is contained in:
psychedelicious 2022-11-12 23:56:01 +11:00 committed by blessedcoolant
parent 3f1360368d
commit 317762861f

View File

@ -723,9 +723,6 @@ class InvokeAIWebServer:
generation_parameters["init_mask"]
).convert("L")
if generation_parameters.invert_mask:
mask_image = ImageOps.invert(mask_image)
"""
Apply the mask to the init image, creating a "mask" image with
transparency where inpainting should occur. This is the kind of