mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge pull request #6707 from zaprudin/bugfix/prompts-from-file-progress-bar
fix progress bar behavior for "Prompts from file or textbox" script
This commit is contained in:
commit
27c1b3b816
@ -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