(self, device)
| 439 | |
| 440 | class Image2Hed: |
| 441 | def __init__(self, device): |
| 442 | print("Initializing Image2Hed") |
| 443 | self.detector = HEDdetector.from_pretrained('lllyasviel/ControlNet') |
| 444 | |
| 445 | @prompts(name="Hed Detection On Image", |
| 446 | description="useful when you want to detect the soft hed boundary of the image. " |
nothing calls this directly
no outgoing calls
no test coverage detected