(self, device)
| 381 | |
| 382 | class Image2Line: |
| 383 | def __init__(self, device): |
| 384 | print("Initializing Image2Line") |
| 385 | self.detector = MLSDdetector.from_pretrained('lllyasviel/ControlNet') |
| 386 | |
| 387 | @prompts(name="Line Detection On Image", |
| 388 | description="useful when you want to detect the straight line of the image. " |
nothing calls this directly
no outgoing calls
no test coverage detected