MCPcopy Create free account
hub / github.com/BIT-DataLab/Edit-Banana / __init__

Method __init__

modules/icon_picture_processor.py:246–253  ·  view source on GitHub ↗
(
        self,
        config=None,
        rmbg_model_path: str = None,
    )

Source from the content-addressed store, hash-verified

244
245
246 def __init__(
247 self,
248 config=None,
249 rmbg_model_path: str = None,
250 ):
251 super().__init__(config)
252 self._rmbg_model: Optional[RMBGModel] = None
253 self._rmbg_model_path = rmbg_model_path
254
255 def load_rmbg_model(self):
256 """Load RMBG model."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected