Commit 696d6813 authored by AUTOMATIC1111's avatar AUTOMATIC1111

Merge pull request #15465 from jordenyt/fix-extras-api-upscale-enabled

Fix extra-single-image API not doing upscale failed
parent 3786f374
...@@ -136,6 +136,7 @@ def run_extras(extras_mode, resize_mode, image, image_folder, input_dir, output_ ...@@ -136,6 +136,7 @@ def run_extras(extras_mode, resize_mode, image, image_folder, input_dir, output_
args = scripts.scripts_postproc.create_args_for_run({ args = scripts.scripts_postproc.create_args_for_run({
"Upscale": { "Upscale": {
"upscale_enabled": True,
"upscale_mode": resize_mode, "upscale_mode": resize_mode,
"upscale_by": upscaling_resize, "upscale_by": upscaling_resize,
"max_side_length": max_side_length, "max_side_length": max_side_length,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment