-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
30 lines (24 loc) · 1.04 KB
/
__init__.py
File metadata and controls
30 lines (24 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""ComfyUI Batch Image Processing Nodes.
A set of custom nodes for batch processing images through ComfyUI pipelines.
"""
try:
from .nodes.batch_loader import BatchImageLoader
from .nodes.batch_saver import BatchImageSaver
from .nodes.progress_formatter import BatchProgressFormatter
NODE_CLASS_MAPPINGS = {
"BatchImageLoader": BatchImageLoader,
"BatchImageSaver": BatchImageSaver,
"BatchProgressFormatter": BatchProgressFormatter,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"BatchImageLoader": "Batch Image Loader",
"BatchImageSaver": "Batch Image Saver",
"BatchProgressFormatter": "Batch Progress Formatter",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
except ImportError:
# Allow import to succeed even without ComfyUI dependencies (torch, numpy, PIL)
# This enables running tests for modules that don't need these dependencies
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]