mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix: correctly display current progress on non-enhance steps after skipping
This commit is contained in:
@@ -1281,6 +1281,7 @@ def worker():
|
|||||||
current_progress, preparation_steps,
|
current_progress, preparation_steps,
|
||||||
async_task.image_number, show_intermediate_results)
|
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
|
images_to_enhance += imgs
|
||||||
|
|
||||||
except ldm_patched.modules.model_management.InterruptProcessingException:
|
except ldm_patched.modules.model_management.InterruptProcessingException:
|
||||||
|
|||||||
Reference in New Issue
Block a user