my-sd/extensions-builtin/sd_forge_ipadapter/scripts/forge_ipadapter.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
413 B
Python
Raw Normal View History

2024-01-30 03:49:36 +00:00
from modules_forge.shared import add_supported_control_model
from modules_forge.supported_controlnet import ControlModelPatcher
class IPAdapterPatcher(ControlModelPatcher):
@staticmethod
def try_build_from_state_dict(state_dict, ckpt_path):
a = 0
return None
def __init__(self, model_patcher):
super().__init__(model_patcher)
add_supported_control_model(IPAdapterPatcher)