From 25f4484c79c8fb62dc7fbd0a88e62266e5ff3b90 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Sun, 23 Jun 2024 18:17:44 +0200 Subject: [PATCH] fix: correctly display current progress on non-enhance steps after skipping --- modules/async_worker.py | 1 + 1 file changed, 1 insertion(+) 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: