mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 14:45:06 +03:00
fix progress bar behavior for "Prompts from file or textbox" script
This commit is contained in:
parent
82725f0ac4
commit
d753a9df95
@ -146,7 +146,7 @@ class Script(scripts.Script):
|
||||
else:
|
||||
args = {"prompt": line}
|
||||
|
||||
n_iter = args.get("n_iter", 1)
|
||||
n_iter = args.get("n_iter", p.n_iter)
|
||||
if n_iter != 1:
|
||||
job_count += n_iter
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user