fix ui img2img scripts

This commit is contained in:
dennissheng 2023-04-24 17:36:16 +08:00
parent 22bcc7be42
commit bbc7a778d8

View File

@ -151,7 +151,7 @@ def img2img(id_task: str, mode: int, prompt: str, negative_prompt: str, prompt_s
override_settings=override_settings,
)
p.scripts = modules.scripts.scripts_txt2img
p.scripts = modules.scripts.scripts_img2img
p.script_args = args
if shared.cmd_opts.enable_console_prompts: