mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-10 06:24:26 +08:00
6 lines
244 B
Python
6 lines
244 B
Python
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()
|