-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path__init__.py
51 lines (43 loc) · 1.54 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
45
46
47
48
49
50
51
from .py import settings
BLEH_VERSION = 1
settings.load_settings()
if settings.SETTINGS.btp_enabled:
from .py import betterTaesdPreview # noqa: F401
from .py.nodes import (
blockCFG,
deepShrink,
hyperTile,
misc,
modelPatchConditional,
ops,
refinerAfter,
sageAttention,
samplers,
)
samplers.add_sampler_presets()
NODE_CLASS_MAPPINGS = {
"BlehBlockCFG": blockCFG.BlockCFGBleh,
"BlehBlockOps": ops.BlehBlockOps,
"BlehDeepShrink": deepShrink.DeepShrinkBleh,
"BlehDisableNoise": misc.BlehDisableNoise,
"BlehDiscardPenultimateSigma": misc.DiscardPenultimateSigma,
"BlehForceSeedSampler": samplers.BlehForceSeedSampler,
"BlehGlobalSageAttention": sageAttention.BlehGlobalSageAttention,
"BlehHyperTile": hyperTile.HyperTileBleh,
"BlehInsaneChainSampler": samplers.BlehInsaneChainSampler,
"BlehLatentOps": ops.BlehLatentOps,
"BlehLatentScaleBy": ops.BlehLatentScaleBy,
"BlehLatentBlend": ops.BlehLatentBlend,
"BlehModelPatchConditional": modelPatchConditional.ModelPatchConditionalNode,
"BlehPlug": misc.BlehPlug,
"BlehRefinerAfter": refinerAfter.BlehRefinerAfter,
"BlehSageAttentionSampler": sageAttention.BlehSageAttentionSampler,
"BlehSetSamplerPreset": samplers.BlehSetSamplerPreset,
"BlehCast": misc.BlehCast,
"BlehSetSigmas": misc.BlehSetSigmas,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"BlehHyperTile": "HyperTile (bleh)",
"BlehDeepShrink": "Kohya Deep Shrink (bleh)",
}
__all__ = ("BLEH_VERSION", "NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS")