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

Method __init__

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

Source from the content-addressed store, hash-verified

553
554class Image2Pose:
555 def __init__(self, device):
556 print("Initializing Image2Pose")
557 self.detector = OpenposeDetector.from_pretrained('lllyasviel/ControlNet')
558
559 @prompts(name="Pose Detection On Image",
560 description="useful when you want to detect the human pose of the image. "

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected