MCPcopy Create free account
hub / github.com/chenfei-wu/TaskMatrix / __init__

Method __init__

visual_chatgpt.py:499–501  ·  view source on GitHub ↗
(self, device)

Source from the content-addressed store, hash-verified

497
498class Image2Scribble:
499 def __init__(self, device):
500 print("Initializing Image2Scribble")
501 self.detector = HEDdetector.from_pretrained('lllyasviel/ControlNet')
502
503 @prompts(name="Sketch Detection On Image",
504 description="useful when you want to generate a scribble of the image. "

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected