From 317762861f98abea9d9959cb5355974d6a8bb456 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 12 Nov 2022 23:56:01 +1100 Subject: [PATCH] Fixes invert mask --- backend/invoke_ai_web_server.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/invoke_ai_web_server.py b/backend/invoke_ai_web_server.py index 5b15ffc12b..36494f720c 100644 --- a/backend/invoke_ai_web_server.py +++ b/backend/invoke_ai_web_server.py @@ -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