101 lines
3.6 KiB
Python
101 lines
3.6 KiB
Python
"""Top-level package for comfyui_ino_nodes."""
|
|
|
|
__all__ = [
|
|
"NODE_CLASS_MAPPINGS",
|
|
"NODE_DISPLAY_NAME_MAPPINGS",
|
|
"WEB_DIRECTORY",
|
|
]
|
|
|
|
__author__ = """InoNodes"""
|
|
__email__ = "contact@inoland.net"
|
|
__version__ = "0.0.1"
|
|
|
|
from .src.comfyui_ino_nodes.node_utils import InoParseFilePath
|
|
from .src.comfyui_ino_nodes.node_utils import InoNotBoolean
|
|
from .src.comfyui_ino_nodes.node_utils import InoCountFiles
|
|
from .src.comfyui_ino_nodes.node_utils import InoIntEqual
|
|
from .src.comfyui_ino_nodes.node_utils import InoBranchImage
|
|
from .src.comfyui_ino_nodes.node_utils import InoDateTimeAsString
|
|
from .src.comfyui_ino_nodes.node_utils import InoRandomCharacterPrompt
|
|
from .src.comfyui_ino_nodes.node_utils import InoCalculateLoraConfig
|
|
from .src.comfyui_ino_nodes.node_utils import InoGetFolderBatchID
|
|
from .src.comfyui_ino_nodes.node_utils import InoStringToggleCase
|
|
from .src.comfyui_ino_nodes.node_utils import InoBoolToSwitch
|
|
|
|
|
|
from .src.comfyui_ino_nodes.utils.file_helper import Zip, Unzip, RemoveFile, RemoveFolder, IncrementBatchName
|
|
from .src.comfyui_ino_nodes.utils.sampler_helper import InoGetModelConfig, InoGetLoraConfig, InoLoadSamplerModels, InoGetConditioning, InoGetSamplerConfig
|
|
|
|
from .src.comfyui_ino_nodes import CloudreveInit, CloudreveSignin, CloudreveUploadFile
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"Ino_ParseFilePath": InoParseFilePath,
|
|
"Ino_NotBoolean": InoNotBoolean,
|
|
"Ino_CountFiles": InoCountFiles,
|
|
"Ino_IntEqual": InoIntEqual,
|
|
"Ino_BranchImage": InoBranchImage,
|
|
"Ino_DateTimeAsString": InoDateTimeAsString,
|
|
"Ino_RandomCharacterPrompt": InoRandomCharacterPrompt,
|
|
"Ino_CalculateLoraConfig": InoCalculateLoraConfig,
|
|
"Ino_GetFolderBatchID": InoGetFolderBatchID,
|
|
"Ino_StringToggleCase": InoStringToggleCase,
|
|
"Ino_BoolToSwitch": InoBoolToSwitch,
|
|
|
|
"Zip": Zip,
|
|
"Unzip": Unzip,
|
|
"RemoveFile": RemoveFile,
|
|
"RemoveFolder": RemoveFolder,
|
|
"IncrementBatchName": IncrementBatchName,
|
|
|
|
"InoGetModelConfig": InoGetModelConfig,
|
|
"InoGetLoraConfig": InoGetLoraConfig,
|
|
"InoLoadSamplerModels": InoLoadSamplerModels,
|
|
"InoGetConditioning": InoGetConditioning,
|
|
"InoGetSamplerConfig": InoGetSamplerConfig,
|
|
|
|
|
|
"CloudreveInit": CloudreveInit,
|
|
"CloudreveSignin": CloudreveSignin,
|
|
"CloudreveUploadFile": CloudreveUploadFile,
|
|
}
|
|
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"Ino_SaveImage": "BeDrive Save Image",
|
|
"Ino_SaveFile": "BeDrive Save File",
|
|
"Ino_GetParentID": "BeDrive Get Parent ID",
|
|
|
|
"Ino_ParseFilePath": "Ino Parse File Path",
|
|
"Ino_NotBoolean": "Ino Not Boolean",
|
|
"Ino_CountFiles": "Ino Count Files",
|
|
"Ino_IntEqual": "Ino Int Equal",
|
|
"Ino_BranchImage": "Ino Branch Image",
|
|
"Ino_DateTimeAsString": "Ino DateTime As String",
|
|
"Ino_RandomCharacterPrompt": "Ino Random Character Prompt",
|
|
"Ino_CalculateLoraConfig": "Ino Calculate Lora Config",
|
|
"Ino_GetFolderBatchID": "Ino Get Folder Batch ID",
|
|
"Ino_StringToggleCase": "Ino String Toggle Case",
|
|
"Ino_BoolToSwitch": "Ino Bool To Switch",
|
|
|
|
"Ino_VideoConvert": "Ino Video Convert",
|
|
|
|
"Zip": "Zip",
|
|
"Unzip": "Unzip",
|
|
"RemoveFile": "Remove File",
|
|
"RemoveFolder": "Remove Folder",
|
|
"IncrementBatchName": "Increment Batch Name",
|
|
|
|
"InoGetModelConfig": "Ino Get Model Config",
|
|
"InoGetLoraConfig": "Ino Get Lora Config",
|
|
"InoLoadSamplerModels": "Ino Load Sampler Models",
|
|
"InoGetConditioning": "Ino Get Conditioning",
|
|
"InoGetSamplerConfig": "Ino Get Sampler Config",
|
|
|
|
"CloudreveInit": "Cloudreve Init",
|
|
"CloudreveSignin": "Cloudreve Signin",
|
|
"CloudreveUploadFile": "Cloudreve Upload File",
|
|
}
|
|
|
|
|
|
WEB_DIRECTORY = "./web"
|