handle inpaint

This commit is contained in:
lllyasviel
2024-01-29 18:50:36 -08:00
parent e1b0e81344
commit b923f8be78
2 changed files with 6 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ class Preprocessor:
self.show_control_mode = True
self.do_not_need_model = False
self.sorting_priority = 0.0 # higher goes to top in the list
self.corp_image_with_a1111_mask_when_in_img2img_inpaint_tab = True
def setup_model_patcher(self, model, load_device=None, offload_device=None, dtype=torch.float32, **kwargs):
if load_device is None: