Commit 13e371af authored by AUTOMATIC1111's avatar AUTOMATIC1111
Browse files

doc update

parent ae36e089
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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.
        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):
          - p.prompts
          - p.negative_prompts
          - p.seeds
          - p.subseeds
        then the script has the responsibility to also update the following attributes in the processing object (pp):
          - pp.prompts
          - pp.negative_prompts
          - pp.seeds
          - pp.subseeds

        **kwargs will have same items as process_batch, and also:
          - batch_number - index of current batch, from 0 to number of batches-1