-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path__init__.py
44 lines (42 loc) · 1.7 KB
/
__init__.py
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
try:
import comfy
from .content_aware_tiles.comfyui_nodes import *
NODE_CLASS_MAPPINGS = {
"RandomWangBoundaries": RandomWangTileBoundaries,
"WangBoundaries": WangBoundaries,
"DualBoundaries": DualBoundaries,
"RejectCandidateTiles": RejectCandidateTiles,
"TileImages": TileImages,
"TilePacking": TilePacking,
"TileUnpacking": TileUnpacking,
"LatentDualBoundaries": LatentDualBoundaries,
"LatentTileImages": LatentTileImages,
"LatentTilePacking": LatentTilePacking,
"RandomTiling": RandomTiling,
"LatentRandomTiling": LatentRandomTiling,
"RollingKSampler": RollingKSampler,
"SubBatchModel": SubBatchModel,
"SubBatchVAE": SubBatchVAE,
"RandomSubsetOfBatch": RandomSubsetOfBatch,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"RandomWangBoundaries": "Random Wang Boundaries (from Image)",
"WangBoundaries": "Wang Boundaries (from Tiles)",
"DualBoundaries": "Dual Boundaries",
"RejectCandidateTiles": "Reject Candidate Tiles",
"TileImages": "Tile Images",
"TilePacking": "Tile Packing",
"TileUnpacking": "Tile Unpacking",
"LatentDualBoundaries": "Dual Boundaries (Latent)",
"LatentTileImages": "Tile Images (Latent)",
"LatentTilePacking": "Tile Packing (Latent)",
"RandomTiling": "Random Tiling",
"LatentRandomTiling": "Random Tiling (Latent)",
"RollingKSampler": "KSampler (Rolling)",
"SubBatchModel": "Sub-batching Model",
"SubBatchVAE": "Sub-batching VAE",
"RandomSubsetOfBatch": "Random Subset of Batch",
}
except ImportError as e:
if e.name != 'comfy':
raise e