Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Has been cancelled
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Has been cancelled
Execution Tests / test (macos-latest) (push) Has been cancelled
Execution Tests / test (ubuntu-latest) (push) Has been cancelled
Execution Tests / test (windows-latest) (push) Has been cancelled
Test server launches without errors / test (push) Has been cancelled
Unit Tests / test (macos-latest) (push) Has been cancelled
Unit Tests / test (ubuntu-latest) (push) Has been cancelled
Unit Tests / test (windows-2022) (push) Has been cancelled
Includes 30 custom nodes committed directly, 7 Civitai-exclusive loras stored via Git LFS, and a setup script that installs all dependencies and downloads HuggingFace-hosted models on vast.ai. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
1.8 KiB
Python
36 lines
1.8 KiB
Python
from typing import Any
|
|
|
|
from .nodes import ImageSaver, ImageSaverSimple, ImageSaverMetadata
|
|
from .nodes_literals import SeedGenerator, StringLiteral, SizeLiteral, IntLiteral, FloatLiteral, CfgLiteral, ConditioningConcatOptional, RandomShapeGenerator
|
|
from .nodes_loaders import CheckpointLoaderWithName, UNETLoaderWithName
|
|
from .nodes_selectors import SamplerSelector, SchedulerSelector, SchedulerSelectorInspire, SchedulerSelectorEfficiency, InputParameters, AnyToString, WorkflowInputValue
|
|
from .civitai_nodes import CivitaiHashFetcher
|
|
|
|
NODE_CLASS_MAPPINGS: dict[str, Any] = {
|
|
"Checkpoint Loader with Name (Image Saver)": CheckpointLoaderWithName,
|
|
"UNet loader with Name (Image Saver)": UNETLoaderWithName,
|
|
"Image Saver": ImageSaver,
|
|
"Image Saver Simple": ImageSaverSimple,
|
|
"Image Saver Metadata": ImageSaverMetadata,
|
|
"Sampler Selector (Image Saver)": SamplerSelector,
|
|
"Scheduler Selector (Image Saver)": SchedulerSelector,
|
|
"Scheduler Selector (inspire) (Image Saver)": SchedulerSelectorInspire,
|
|
"Scheduler Selector (Eff.) (Image Saver)": SchedulerSelectorEfficiency,
|
|
"Input Parameters (Image Saver)": InputParameters,
|
|
"Any to String (Image Saver)": AnyToString,
|
|
"Workflow Input Value (Image Saver)": WorkflowInputValue,
|
|
"Seed Generator (Image Saver)": SeedGenerator,
|
|
"String Literal (Image Saver)": StringLiteral,
|
|
"Width/Height Literal (Image Saver)": SizeLiteral,
|
|
"Cfg Literal (Image Saver)": CfgLiteral,
|
|
"Int Literal (Image Saver)": IntLiteral,
|
|
"Float Literal (Image Saver)": FloatLiteral,
|
|
"Conditioning Concat Optional (Image Saver)": ConditioningConcatOptional,
|
|
"RandomShapeGenerator": RandomShapeGenerator,
|
|
"Civitai Hash Fetcher (Image Saver)": CivitaiHashFetcher,
|
|
}
|
|
|
|
WEB_DIRECTORY = "js"
|
|
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'WEB_DIRECTORY']
|