Skip to content

Commit 14895eb

Browse files
authored
hotfix: yield enhance_input_image to correctly preview debug masks (lllyasviel#3497)
sort images starts from index <images_to_enhance_count>, which is 1 if enhance_input_image has been provided
1 parent b0d16a3 commit 14895eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/async_worker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,8 @@ def handler(async_task: AsyncTask):
12231223
height, width, _ = async_task.enhance_input_image.shape
12241224
# input image already provided, processing is skipped
12251225
steps = 0
1226+
yield_result(async_task, async_task.enhance_input_image, current_progress, async_task.black_out_nsfw, False,
1227+
async_task.disable_intermediate_results)
12261228

12271229
all_steps = steps * async_task.image_number
12281230

0 commit comments

Comments
 (0)