Skip to content

Commit c48b6bf

Browse files
Merge pull request AUTOMATIC1111#15465 from jordenyt/fix-extras-api-upscale-enabled
Fix extra-single-image API not doing upscale failed
2 parents d9708c9 + 2580235 commit c48b6bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/postprocessing.py

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def run_extras(extras_mode, resize_mode, image, image_folder, input_dir, output_
136136

137137
args = scripts.scripts_postproc.create_args_for_run({
138138
"Upscale": {
139+
"upscale_enabled": True,
139140
"upscale_mode": resize_mode,
140141
"upscale_by": upscaling_resize,
141142
"max_side_length": max_side_length,

0 commit comments

Comments
 (0)