lllyasviel commited on
Commit
529b967
·
1 Parent(s): 13d1420
Files changed (1) hide show
  1. webui.py +1 -1
webui.py CHANGED
@@ -28,7 +28,7 @@ def generate_clicked(prompt, negative_prompt, style_selction, performance_selcti
28
  all_steps = steps * image_number
29
 
30
  def callback(step, x0, x, total_steps):
31
- done_steps = i * image_number + step
32
  progress(float(done_steps) / float(all_steps), f'Step {step}/{total_steps} in the {i}-th Sampling')
33
 
34
  for i in range(image_number):
 
28
  all_steps = steps * image_number
29
 
30
  def callback(step, x0, x, total_steps):
31
+ done_steps = i * steps + step
32
  progress(float(done_steps) / float(all_steps), f'Step {step}/{total_steps} in the {i}-th Sampling')
33
 
34
  for i in range(image_number):