MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / process_example

Function process_example

examples/brushnet/app_brushnet.py:227–228  ·  view source on GitHub ↗
(input_image, prompt, input_mask, original_image, selected_points,result_gallery)

Source from the content-addressed store, hash-verified

225 result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", preview=True)
226 with gr.Row():
227 def process_example(input_image, prompt, input_mask, original_image, selected_points,result_gallery): #
228 return input_image, prompt, input_mask, original_image, [], result_gallery
229 example = gr.Examples(
230 label="Input Example",
231 examples=image_examples,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected