MCPcopy Create free account
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / postprocess

Method postprocess

modules/scripts.py:868–874  ·  view source on GitHub ↗
(self, p, processed)

Source from the content-addressed store, hash-verified

866 errors.report(f"Error running process_batch: {script.filename}", exc_info=True)
867
868 def postprocess(self, p, processed):
869 for script in self.ordered_scripts('postprocess'):
870 try:
871 script_args = p.script_args[script.args_from:script.args_to]
872 script.postprocess(p, processed, *script_args)
873 except Exception:
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'):

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
postprocessMethod · 0.45

Tested by

no test coverage detected