Files
2024-06-20 15:17:04 +08:00

21 lines
669 B
Python

WEB_DIRECTORY = "./web"
from .nodes import LoadAudioPath, 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,
"LoadAudioPath": LoadAudioPath,
"PreViewAudio": PreViewAudio
}
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"UVR5_Node": "UVR5 Node",
"LoadAudioPath": "LoadAudioPath",
"PreViewAudio": "PreView Audio"
}