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:
AUTOMATIC1111 2023-01-14 16:41:04 +03:00 committed by GitHub
commit 27c1b3b816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: