Add inpaint options to paste fields

This commit is contained in:
Jibaku789 2024-01-01 14:57:41 -06:00 committed by GitHub
parent ac3cc1adc5
commit c2ea571005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -840,6 +840,10 @@ def create_ui():
(toprow.ui_styles.dropdown, lambda d: d["Styles array"] if isinstance(d.get("Styles array"), list) else gr.update()),
(denoising_strength, "Denoising strength"),
(mask_blur, "Mask blur"),
(inpainting_mask_invert, 'Mask mode'),
(inpainting_fill, 'Masked content'),
(inpaint_full_res, 'Inpaint area'),
(inpaint_full_res_padding, 'Only masked padding, pixels'),
*scripts.scripts_img2img.infotext_fields
]
parameters_copypaste.add_paste_fields("img2img", init_img, img2img_paste_fields, override_settings)