"test/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "f36016813a1e02e5643c1eedc87af14f292d3dff"
Commit 16a493a1 authored by comfyanonymous's avatar comfyanonymous
Browse files

Keep compatibility with some custom nodes.

parent 9a151b7d
from spandrel import ModelLoader
def load_state_dict(state_dict):
print("WARNING: comfy_extras.chainner_models is deprecated and has been replaced by the spandrel library.")
return ModelLoader().load_from_state_dict(state_dict).eval()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment