Skip to content

Commit 16a493a

Browse files
Keep compatibility with some custom nodes.
1 parent 9a151b7 commit 16a493a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from spandrel import ModelLoader
2+
3+
def load_state_dict(state_dict):
4+
print("WARNING: comfy_extras.chainner_models is deprecated and has been replaced by the spandrel library.")
5+
return ModelLoader().load_from_state_dict(state_dict).eval()

0 commit comments

Comments
 (0)