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

Method post_sample

modules/scripts.py:892–898  ·  view source on GitHub ↗
(self, p, ps: PostSampleArgs)

Source from the content-addressed store, hash-verified

890 errors.report(f"Error running postprocess_batch_list: {script.filename}", exc_info=True)
891
892 def post_sample(self, p, ps: PostSampleArgs):
893 for script in self.ordered_scripts('post_sample'):
894 try:
895 script_args = p.script_args[script.args_from:script.args_to]
896 script.post_sample(p, ps, *script_args)
897 except Exception:
898 errors.report(f"Error running post_sample: {script.filename}", exc_info=True)
899
900 def on_mask_blend(self, p, mba: MaskBlendArgs):
901 for script in self.ordered_scripts('on_mask_blend'):

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
post_sampleMethod · 0.45

Tested by

no test coverage detected