21 lines
635 B
Python
21 lines
635 B
Python
WEB_DIRECTORY = "./web"
|
|
from .nodes import LoadAudio, UVR5,PlayAudio
|
|
|
|
# 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,
|
|
"PlayAudio": PlayAudio
|
|
}
|
|
|
|
# A dictionary that contains the friendly/humanly readable titles for the nodes
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"UVR5_Node": "UVR5 Node",
|
|
"LoadAudio": "AudioLoader",
|
|
"PlayAudio": "PlayAudio"
|
|
}
|