aboutsummaryrefslogtreecommitdiff
path: root/modules/txt2img.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-04 01:29:43 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-04 01:29:43 +0300
commit7350c712598b748c3cedc2a224887bd839a27d76 (patch)
tree639298ad44542d1111268082a25ca17d9ef85910 /modules/txt2img.py
parentaf133859f009f03ca123330a9249a4b0a2f69fbb (diff)
added poor man's inpainting script
Diffstat (limited to 'modules/txt2img.py')
-rw-r--r--modules/txt2img.py2
1 files changed, 1 insertions, 1 deletions
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