From 8f45ea8d88ef6262a65456a66bf0c46fe9051d8a Mon Sep 17 00:00:00 2001 From: AIFSH <149982694+AIFSH@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:17:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=5F=5Finit=5F=5F.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index b6efde6..c2dfc08 100644 --- a/__init__.py +++ b/__init__.py @@ -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" }