MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / ImageMask

Class ImageMask

demo_auto_generation.py:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68
69class ImageMask(gr.components.Image):
70
71 is_template = True
72
73 def __init__(self, **kwargs):
74 super().__init__(source="upload", **kwargs)
75
76 def preprocess(self, x):
77 return super().preprocess(x)
78
79
80

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected