diff --git a/modules/async_worker.py b/modules/async_worker.py index 2d051210..bcb6e82a 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -1281,6 +1281,7 @@ def worker(): current_progress, preparation_steps, async_task.image_number, show_intermediate_results) + current_progress = int(preparation_steps + (100 - preparation_steps) / float(all_steps) * async_task.steps * (current_task_id + 1)) images_to_enhance += imgs except ldm_patched.modules.model_management.InterruptProcessingException: