any2list node + math fixes

This commit is contained in:
SayanoAI
2024-07-31 16:06:01 -04:00
parent fd95cce2a4
commit 1b455e7b98
4 changed files with 68 additions and 11 deletions
+7 -3
View File
@@ -3,7 +3,7 @@ from .custom_nodes.uvr import UVR5Node
from .custom_nodes.rvc import RVCNode
from .custom_nodes.loaders import DownloadAudio, LoadAudio, LoadWhisperModelNode, LoadRVCModelNode, LoadHubertModel, LoadPitchExtractionParams
from .custom_nodes.output import PreviewAudio
from .custom_nodes.utils import AudioBatchValueNode, MergeImageBatches, MergeLatentBatches, ImageRepeatInterleavedNode, LatentRepeatInterleavedNode, MergeAudioNode, SimpleMathNode, SliceNode
from .custom_nodes.utils import Any2ListNode, AudioBatchValueNode, MergeImageBatches, MergeLatentBatches, ImageRepeatInterleavedNode, LatentRepeatInterleavedNode, MergeAudioNode, SimpleMathNode, SliceNode, ZipImagesNode
# Set the web directory, any .js file in that directory will be loaded by the frontend as a frontend extension
WEB_DIRECTORY = "./web"
@@ -29,7 +29,9 @@ NODE_CLASS_MAPPINGS = {
"DownloadAudio": DownloadAudio,
"BatchedTranscriptionEncoderNode": BatchedTranscriptionEncoderNode,
"SimpleMathNode": SimpleMathNode,
"SliceNode": SliceNode
"SliceNode": SliceNode,
"ZipNode": ZipImagesNode,
"Any2ListNode": Any2ListNode
}
# A dictionary that contains the friendly/humanly readable titles for the nodes
@@ -52,5 +54,7 @@ NODE_DISPLAY_NAME_MAPPINGS = {
"LatentRepeatInterleavedNode": "🌺Latent Repeat Interleaved",
"BatchedTranscriptionEncoderNode": "🌺Batched CLIP Transcription Encode (Prompt)",
"SimpleMathNode": "🌺Simple Math Operations",
"SliceNode": "🌺Slice Array"
"SliceNode": "🌺Slice Array",
"ZipNode": "🌺Zip Images",
"Any2ListNode": "🌺Any to List"
}