fix: correctly display current progress on non-enhance steps after skipping

This commit is contained in:
Manuel Schmid 2024-06-23 18:17:44 +02:00
parent 1ef6367635
commit 25f4484c79
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 1 additions and 0 deletions

View File

@ -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: