diff options
author | discus0434 <discus0434@gmail.com> | 2022-10-22 11:14:46 +0000 |
---|---|---|
committer | discus0434 <discus0434@gmail.com> | 2022-10-22 11:14:46 +0000 |
commit | dcb45dfecfd0d7f2c268343d8a83fd33c276345b (patch) | |
tree | 001c8ebf9e0c7af692ae1237142206f568ff6903 /modules/img2img.py | |
parent | 0e8ca8e7af05be22d7d2c07a47c3c7febe0f0ab6 (diff) | |
parent | 50b5504401e50b6c94eba41b37fe212b2f27b792 (diff) |
Merge branch 'master' of upstream
Diffstat (limited to 'modules/img2img.py')
-rw-r--r-- | modules/img2img.py | 3 |
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)
|