aboutsummaryrefslogtreecommitdiffstats
path: root/modules/img2img.py
diff options
context:
space:
mode:
authorDynamic <bradje@naver.com>2022-10-23 13:36:56 +0000
committerGitHub <noreply@github.com>2022-10-23 13:36:56 +0000
commit660ae690bd7107b78aac6413e1370f8cd72676bc (patch)
treeb666cfd0872687ccd293a41d9d0a90fcdfe1ea0a /modules/img2img.py
parent21364c5c39b269497944b56dd6664792d779333b (diff)
parent6bd6154a92eb05c80d66df661a38f8b70cc13729 (diff)
downloadstable-diffusion-webui-gfx803-660ae690bd7107b78aac6413e1370f8cd72676bc.tar.gz
stable-diffusion-webui-gfx803-660ae690bd7107b78aac6413e1370f8cd72676bc.tar.bz2
stable-diffusion-webui-gfx803-660ae690bd7107b78aac6413e1370f8cd72676bc.zip
Merge branch 'AUTOMATIC1111:master' into kr-localization
Diffstat (limited to 'modules/img2img.py')
-rw-r--r--modules/img2img.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/img2img.py b/modules/img2img.py
index 24126774..8d9f7cf9 100644
--- a/modules/img2img.py
+++ b/modules/img2img.py
@@ -109,6 +109,9 @@ def img2img(mode: int, prompt: str, negative_prompt: str, prompt_style: str, pro
inpainting_mask_invert=inpainting_mask_invert,
)
+ p.scripts = modules.scripts.scripts_txt2img
+ p.script_args = args
+
if shared.cmd_opts.enable_console_prompts:
print(f"\nimg2img: {prompt}", file=shared.progress_print_out)