StyleGen / comfy_extras /chainner_models /model_loading.py
multimodalart's picture
multimodalart HF Staff
Squashing commit
4450790 verified
Raw History Blame Contribute Delete
244 Bytes
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()