mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
doc update
This commit is contained in:
parent
ae36e0899f
commit
13e371af73
@ -172,11 +172,11 @@ class Script:
|
|||||||
|
|
||||||
You can modify the postprocessing object (pp) to update the images in the batch, remove images, add images, etc.
|
You can modify the postprocessing object (pp) to update the images in the batch, remove images, add images, etc.
|
||||||
If the number of images is different from the batch size when returning,
|
If the number of images is different from the batch size when returning,
|
||||||
then the script has the responsibility to also update the following attributes in the processing object (p):
|
then the script has the responsibility to also update the following attributes in the processing object (pp):
|
||||||
- p.prompts
|
- pp.prompts
|
||||||
- p.negative_prompts
|
- pp.negative_prompts
|
||||||
- p.seeds
|
- pp.seeds
|
||||||
- p.subseeds
|
- pp.subseeds
|
||||||
|
|
||||||
**kwargs will have same items as process_batch, and also:
|
**kwargs will have same items as process_batch, and also:
|
||||||
- batch_number - index of current batch, from 0 to number of batches-1
|
- batch_number - index of current batch, from 0 to number of batches-1
|
||||||
|
Loading…
Reference in New Issue
Block a user