更新 __init__.py

This commit is contained in:
AIFSH
2024-06-20 15:17:04 +08:00
committed by GitHub
parent 7c5c0bf1d2
commit 8f45ea8d88
+3 -3
View File
@@ -1,5 +1,5 @@
WEB_DIRECTORY = "./web"
from .nodes import LoadAudio, UVR5,PreViewAudio
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"
@@ -8,13 +8,13 @@ from .nodes import LoadAudio, UVR5,PreViewAudio
# NOTE: names should be globally unique
NODE_CLASS_MAPPINGS = {
"UVR5_Node": UVR5,
"LoadAudio": LoadAudio,
"LoadAudioPath": LoadAudioPath,
"PreViewAudio": PreViewAudio
}
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"UVR5_Node": "UVR5 Node",
"LoadAudio": "AudioLoader",
"LoadAudioPath": "LoadAudioPath",
"PreViewAudio": "PreView Audio"
}