MCPcopy Index your code
hub / github.com/vladmandic/sdnext / process

Method process

modules/scripts_manager.py:113–119  ·  view source on GitHub ↗

This function is called before processing begins for AlwaysVisible scripts. You can modify the processing object (p) here, inject hooks, etc. args contains all values returned by components from ui()

(self, p: StableDiffusionProcessing, *args)

Source from the content-addressed store, hash-verified

111 pass # pylint: disable=unnecessary-pass
112
113 def process(self, p: StableDiffusionProcessing, *args):
114 """
115 This function is called before processing begins for AlwaysVisible scripts.
116 You can modify the processing object (p) here, inject hooks, etc.
117 args contains all values returned by components from ui()
118 """
119 pass # pylint: disable=unnecessary-pass
120
121 def process_images(self, p: StableDiffusionProcessing, *args):
122 """

Callers 6

process_images_innerFunction · 0.45
postprocess_imageMethod · 0.45
processMethod · 0.45
segmentationFunction · 0.45
process_faceFunction · 0.45
process_bodyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected