mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes invert mask
This commit is contained in:
parent
3f1360368d
commit
317762861f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user