Files
longgui0318 3ed776bcad 1、重命名
2、新增diffusers版本的,主要是无法确认comfyui原生实现的效果,增加一个常用的作为备选
2024-06-10 19:21:17 +08:00

17 lines
490 B
Python

from .nodes import NODE_CLASS_MAPPINGS as CM_O, NODE_DISPLAY_NAME_MAPPINGS as NM_O
from .diffusers_warp_nodes import NODE_CLASS_MAPPINGS as CM_D, NODE_DISPLAY_NAME_MAPPINGS as NM_D
import torch
from .utils import pt_hash,pt_first_line
torch.Tensor.__hash_log__ = pt_hash
torch.Tensor.__fl_log__ = pt_first_line
NODE_CLASS_MAPPINGS = {
**CM_O,
**CM_D
}
NODE_DISPLAY_NAME_MAPPINGS = {
**NM_O,
**NM_D
}
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']