diff --git a/modules/async_worker.py b/modules/async_worker.py index f773219c..ab546288 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -109,7 +109,7 @@ def worker(): done_steps = current_task_id * steps + step outputs.append(['preview', ( int(15.0 + 85.0 * float(done_steps) / float(all_steps)), - f'Step {step}/{total_steps} in the {i}-th Sampling', + f'Step {step}/{total_steps} in the {current_task_id + 1}-th Sampling', y)]) outputs.append(['preview', (13, 'Starting tasks ...', None)])