Files
AIFSH-ComfyUI-UVR5/__init__.py
T
2024-04-11 00:44:03 +00:00

21 lines
651 B
Python

WEB_DIRECTORY = "./web"
from .nodes import LoadAudio, UVR5,PreViewAudio
# Set the web directory, any .js file in that directory will be loaded by the frontend as a frontend extension
# WEB_DIRECTORY = "./somejs"
# A dictionary that contains all nodes you want to export with their names
# NOTE: names should be globally unique
NODE_CLASS_MAPPINGS = {
"UVR5_Node": UVR5,
"LoadAudio": LoadAudio,
"PreViewAudio": PreViewAudio
}
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"UVR5_Node": "UVR5 Node",
"LoadAudio": "AudioLoader",
"PreViewAudio": "PreView Audio"
}