Same as process(), but called for every batch. **kwargs will have those items: - batch_number - index of current batch, from 0 to number of batches-1 - prompts - list of prompts for current batch; you can change contents of this list but changing the number of en
(self, p: StableDiffusionProcessing, *args, **kwargs)
| 139 | pass # pylint: disable=unnecessary-pass |
| 140 | |
| 141 | def process_batch(self, p: StableDiffusionProcessing, *args, **kwargs): |
| 142 | """ |
| 143 | Same as process(), but called for every batch. |
| 144 | **kwargs will have those items: |
| 145 | - batch_number - index of current batch, from 0 to number of batches-1 |
| 146 | - prompts - list of prompts for current batch; you can change contents of this list but changing the number of entries will likely break things |
| 147 | - seeds - list of seeds for current batch |
| 148 | - subseeds - list of subseeds for current batch |
| 149 | """ |
| 150 | pass # pylint: disable=unnecessary-pass |
| 151 | |
| 152 | def postprocess_batch(self, p: StableDiffusionProcessing, *args, **kwargs): |
| 153 | """ |
no outgoing calls
no test coverage detected