diff options
author | yfszzx <yfszzx@gmail.com> | 2022-10-23 08:17:37 +0000 |
---|---|---|
committer | yfszzx <yfszzx@gmail.com> | 2022-10-23 08:17:37 +0000 |
commit | 6a9ea40d7f64139f23d634efd7c2fb2c743a546f (patch) | |
tree | 8d420a5590c09e1d4c005a709166479856e70580 /modules/img2img.py | |
parent | 67b78f0ea6f196bfdca49932da062631bb40d0b1 (diff) | |
parent | 1ef32c8b8fa3e16a1e7b287eb19d4fc943d1f2a5 (diff) | |
download | stable-diffusion-webui-gfx803-6a9ea40d7f64139f23d634efd7c2fb2c743a546f.tar.gz stable-diffusion-webui-gfx803-6a9ea40d7f64139f23d634efd7c2fb2c743a546f.tar.bz2 stable-diffusion-webui-gfx803-6a9ea40d7f64139f23d634efd7c2fb2c743a546f.zip |
Move browser and Inspiration into extension
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)
|