diff options
author | Rickey Bowers Jr <bitRAKE@gmail.com> | 2022-09-15 15:02:19 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-15 15:56:52 +0000 |
commit | 874651e4d2b05e19616355015dd0cc67c8b8fad1 (patch) | |
tree | 474238024b1969ad0fc99dde7281d46086bb4cd3 /scripts | |
parent | 0fde1f3eac11cca666560ce60ea60ea3365052a5 (diff) | |
download | stable-diffusion-webui-gfx803-874651e4d2b05e19616355015dd0cc67c8b8fad1.tar.gz stable-diffusion-webui-gfx803-874651e4d2b05e19616355015dd0cc67c8b8fad1.tar.bz2 stable-diffusion-webui-gfx803-874651e4d2b05e19616355015dd0cc67c8b8fad1.zip |
match one based numbering or other batches
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/prompts_from_file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prompts_from_file.py b/scripts/prompts_from_file.py index e0c7f1d2..d9b01c81 100644 --- a/scripts/prompts_from_file.py +++ b/scripts/prompts_from_file.py @@ -33,7 +33,7 @@ class Script(scripts.Script): images = []
for batch_no in range(batch_count):
- state.job = f"{batch_no} out of {batch_count * p.n_iter}"
+ state.job = f"{batch_no + 1} out of {batch_count * p.n_iter}"
p.prompt = lines[batch_no*p.batch_size:(batch_no+1)*p.batch_size] * p.n_iter
proc = process_images(p)
images += proc.images
|