MCPcopy Create free account
hub / github.com/bcmi/OSInsert-Image-Composition / OSInsertConfig

Class OSInsertConfig

libcom/os_insert/os_insert.py:31–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30@dataclass
31class OSInsertConfig:
32 model_dir: Path
33 device: str = "cuda:0"
34 # Optional explicit checkpoint paths (override model_dir conventions)
35 objectstitch_ckpt_path: Path | None = None
36 objectstitch_config_path: Path | None = None
37 objectstitch_clip_dir: Path | None = None
38 sam_checkpoint: Path | None = None
39 flux_fill_path: Path | None = None
40 flux_redux_path: Path | None = None
41 ia_lora_path: Path | None = None
42
43
44class OSInsertModel:

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected