MCPcopy Index your code
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / postprocess_batch

Method postprocess_batch

modules/scripts.py:876–882  ·  view source on GitHub ↗
(self, p, images, **kwargs)

Source from the content-addressed store, hash-verified

874 errors.report(f"Error running postprocess: {script.filename}", exc_info=True)
875
876 def postprocess_batch(self, p, images, **kwargs):
877 for script in self.ordered_scripts('postprocess_batch'):
878 try:
879 script_args = p.script_args[script.args_from:script.args_to]
880 script.postprocess_batch(p, *script_args, images=images, **kwargs)
881 except Exception:
882 errors.report(f"Error running postprocess_batch: {script.filename}", exc_info=True)
883
884 def postprocess_batch_list(self, p, pp: PostprocessBatchListArgs, **kwargs):
885 for script in self.ordered_scripts('postprocess_batch_list'):

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
postprocess_batchMethod · 0.45

Tested by

no test coverage detected