From 7350c712598b748c3cedc2a224887bd839a27d76 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Sun, 4 Sep 2022 01:29:43 +0300 Subject: added poor man's inpainting script --- modules/txt2img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/txt2img.py') diff --git a/modules/txt2img.py b/modules/txt2img.py index f5ac0540..fb65a7f6 100644 --- a/modules/txt2img.py +++ b/modules/txt2img.py @@ -24,7 +24,7 @@ def txt2img(prompt: str, negative_prompt: str, steps: int, sampler_index: int, u use_GFPGAN=use_GFPGAN ) - processed = modules.scripts.run(p, *args) + processed = modules.scripts.scripts_txt2img.run(p, *args) if processed is not None: pass -- cgit v1.2.3