(self, p: StableDiffusionProcessing, pp: PostprocessBatchListArgs, **kwargs)
| 730 | s.report() |
| 731 | |
| 732 | def postprocess_batch_list(self, p: StableDiffusionProcessing, pp: PostprocessBatchListArgs, **kwargs): |
| 733 | s = ScriptSummary('postprocess-batch-list') |
| 734 | for script in self.alwayson_scripts: |
| 735 | try: |
| 736 | if hasattr(script, 'args_to') and hasattr(script, 'args_from') and (script.args_to > 0) and (script.args_to >= script.args_from): |
| 737 | args = p.per_script_args.get(script.title(), p.script_args[script.args_from:script.args_to]) |
| 738 | script.postprocess_batch_list(p, pp, *args, **kwargs) |
| 739 | except Exception as e: |
| 740 | errors.display(e, f'Running script before postprocess batch list: {script.filename}') |
| 741 | s.record(script.title()) |
| 742 | s.report() |
| 743 | |
| 744 | def postprocess_image(self, p: StableDiffusionProcessing, pp: PostprocessImageArgs): |
| 745 | s = ScriptSummary('postprocess-image') |
nothing calls this directly
no test coverage detected