MCPcopy Create free account
hub / github.com/blepping/ComfyUI-bleh / PatchTypeModelWrapper

Class PatchTypeModelWrapper

py/nodes/modelPatchConditional.py:102–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101
102class PatchTypeModelWrapper(PatchTypeModel):
103 @classmethod
104 def _call(cls, patches, apply_model, opts):
105 if not patches:
106 return apply_model(opts["input"], opts["timestep"], **opts["c"])
107 return patches[0](apply_model, opts)
108
109
110class PatchTypeSamplerPostCfgFunction(PatchTypeModel):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected