Files
hdfhssg-ComfyUI_TJS/nodes.py
T
XinPeng76 8409295729 refactor: 删除TJSDecode节点,添加论文信息和测试模型列表
- 删除TJSDecode和TJSDecodeManualSigma节点及_endpoint_decode辅助函数
- 更新__init__.py和nodes.py移除Decode节点引用
- README添加论文引用信息(arXiv:2607.06114)
- README添加已测试模型列表: SDXL, SD3.5M, Z-Image-Turbo, Anima, Krea2, Krea2-Turbo
- README添加即将测试模型: Qwen-Image-Edit-2511, 扩散类视频生成模型
- 删除Decode节点相关使用说明
2026-07-13 12:32:38 +08:00

35 lines
930 B
Python

"""Compatibility wrapper for older imports.
ComfyUI loads this custom node through __init__.py, which imports tjs_nodes.
This file re-exports the same mappings in case a local workflow imports
ComfyUI_TJS.nodes directly.
"""
try:
from .tjs_nodes import (
NODE_CLASS_MAPPINGS as _SAMPLER_CLASS,
NODE_DISPLAY_NAME_MAPPINGS as _SAMPLER_DISPLAY,
TJSAdvancedSampler,
TJSCustomAdvanced,
TJSSampler,
)
except ImportError:
from tjs_nodes import ( # type: ignore
NODE_CLASS_MAPPINGS as _SAMPLER_CLASS,
NODE_DISPLAY_NAME_MAPPINGS as _SAMPLER_DISPLAY,
TJSAdvancedSampler,
TJSCustomAdvanced,
TJSSampler,
)
NODE_CLASS_MAPPINGS = {**_SAMPLER_CLASS}
NODE_DISPLAY_NAME_MAPPINGS = {**_SAMPLER_DISPLAY}
__all__ = [
"NODE_CLASS_MAPPINGS",
"NODE_DISPLAY_NAME_MAPPINGS",
"TJSAdvancedSampler",
"TJSCustomAdvanced",
"TJSSampler",
]