Files
Cyber-BlackCat-ComfyUI-Mone…/__init__.py
T
Cyber-BCat 5d4100b7bc Update __init__.py
you can now load random image(s) from  local directory
2024-12-30 15:27:43 +08:00

27 lines
967 B
Python

from .function.LightorDark import lightdarkjudgment
from .yuan.Yuan import ImageJudgment, imageMinusMask, blackandwhite, PSTransfer, LoadarandomImagefromdir
# A dictionary that contains all nodes you want to export with their names
# NOTE: names should be globally unique
NODE_CLASS_MAPPINGS = {
# "Yuan": Yuan_node,
"Black and white": blackandwhite,
"PhotoShop Transfer": PSTransfer,
"Image Judgment": ImageJudgment,
"ImageMinusMask": imageMinusMask,
"Load Random Images": LoadarandomImagefromdir,
}
NODE_DISPLAY_NAME_MAPPINGS = {
# "Yuan": "Yuan fake Node",
"YuanBW": "Yuan Black and White Converter",
"Light or Dark": "Light or Dark",
"Yuan Transfer": "Yuan Transfer",
"Image Judgment": "ImageJudgment",
"ImageMinusMask": "Image Minus Mask"
# 冒号后是节点上显示的名字,多行对应多个节点
# After the colon is the name displayed on the node. Multiple lines correspond to multiple nodes
}