mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-04 16:21:18 -08:00
change process_one virtual function for script to process_batch, add extra args and docs
This commit is contained in:
parent
99043f3360
commit
eeb0733013
2 changed files with 12 additions and 6 deletions
|
|
@ -502,7 +502,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
|||
break
|
||||
|
||||
if p.scripts is not None:
|
||||
p.scripts.process_one(p, n)
|
||||
p.scripts.process_batch(p, batch_number=n, prompts=prompts, seeds=seeds, subseeds=subseeds)
|
||||
|
||||
with devices.autocast():
|
||||
uc = prompt_parser.get_learned_conditioning(shared.sd_model, len(prompts) * [p.negative_prompt], p.steps)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue