mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6452fa2fb7
@ -92,6 +92,7 @@ class ScriptRunner:
|
||||
|
||||
for script in self.scripts:
|
||||
script.args_from = len(inputs)
|
||||
script.args_to = len(inputs)
|
||||
|
||||
controls = wrap_call(script.ui, script.filename, "ui", is_img2img)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user