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

Method process

modules/scripts.py:152–159  ·  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, *args)

Source from the content-addressed store, hash-verified

150 pass
151
152 def process(self, p, *args):
153 """
154 This function is called before processing begins for AlwaysVisible scripts.
155 You can modify the processing object (p) here, inject hooks, etc.
156 args contains all values returned by components from ui()
157 """
158
159 pass
160
161 def before_process_batch(self, p, *args, **kwargs):
162 """

Callers 3

processMethod · 0.45
process_images_innerFunction · 0.45
postprocess_imageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected