This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
_mappings.py
49 lines (39 loc) · 2.07 KB
/
_mappings.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
45
46
47
48
49
from .util import HelperNodes_MultilineStringLiteral, HelperNodes_StringLiteral
from .util import HelperNodes_Steps, HelperNodes_CfgScale, HelperNodes_WidthHeight
from .scheduler import HelperNodes_SchedulerSelector
from .sampler import HelperNodes_SamplerSelector, HelperNodes_SeedSelector
from .conditioning import HelperNodes_CLIPSkip # Not currently provided while we refine this.
from .models import HelperNodes_VAESelector, HelperNodes_CheckpointSelector
from .prompt import HelperNodes_Prompt
from .sdxl import HelperNodes_SDXLCommonResolutions
from .image import HelperNodes_SaveImage
NODE_CLASS_MAPPINGS = {
"HelperNodes_MultilineStringLiteral": HelperNodes_MultilineStringLiteral,
"HelperNodes_StringLiteral": HelperNodes_StringLiteral,
"HelperNodes_Steps": HelperNodes_Steps,
"HelperNodes_CfgScale": HelperNodes_CfgScale,
"HelperNodes_WidthHeight": HelperNodes_WidthHeight,
"HelperNodes_SchedulerSelector": HelperNodes_SchedulerSelector,
"HelperNodes_SamplerSelector": HelperNodes_SamplerSelector,
"HelperNodes_SeedSelector": HelperNodes_SeedSelector,
"HelperNodes_CheckpointSelector": HelperNodes_CheckpointSelector,
"HelperNodes_VAESelector": HelperNodes_VAESelector,
"HelperNodes_Prompt": HelperNodes_Prompt,
"HelperNodes_SDXLCommonResolutions": HelperNodes_SDXLCommonResolutions,
"HelperNodes_SaveImage": HelperNodes_SaveImage,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"HelperNodes_MultilineStringLiteral": "String Literal (multi-line)",
"HelperNodes_StringLiteral": "String Literal",
"HelperNodes_Steps": "Steps",
"HelperNodes_CfgScale": "CFG Scale",
"HelperNodes_WidthHeight": "Image Dimensions",
"HelperNodes_SchedulerSelector": "Scheduler Selector",
"HelperNodes_SamplerSelector": "Sampler Selector",
"HelperNodes_SeedSelector": "Seed",
"HelperNodes_CheckpointSelector": "Checkpoint Selector",
"HelperNodes_VAESelector": "VAE Selector",
"HelperNodes_Prompt": "Positive/Negative Prompts",
"HelperNodes_SDXLCommonResolutions": "Common SDXL Resolutions",
"HelperNodes_SaveImage": "Save Image",
}