mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
hotfix: yield enhance_input_image to correctly preview debug masks (#3497)
sort images starts from index <images_to_enhance_count>, which is 1 if enhance_input_image has been provided
This commit is contained in:
@@ -1223,6 +1223,8 @@ def worker():
|
||||
height, width, _ = async_task.enhance_input_image.shape
|
||||
# input image already provided, processing is skipped
|
||||
steps = 0
|
||||
yield_result(async_task, async_task.enhance_input_image, current_progress, async_task.black_out_nsfw, False,
|
||||
async_task.disable_intermediate_results)
|
||||
|
||||
all_steps = steps * async_task.image_number
|
||||
|
||||
|
||||
Reference in New Issue
Block a user