added poor man's inpainting script

This commit is contained in:
AUTOMATIC
2022-09-04 01:29:43 +03:00
parent af133859f0
commit 7350c71259
7 changed files with 193 additions and 51 deletions

View File

@@ -130,7 +130,7 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index
else:
processed = modules.scripts.run(p, *args)
processed = modules.scripts.scripts_img2img.run(p, *args)
if processed is None:
processed = process_images(p)