Create forge_ipadapter.py

This commit is contained in:
lllyasviel
2024-01-29 19:49:36 -08:00
parent eb202c405b
commit dd5d868f6e

View File

@@ -0,0 +1,15 @@
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)