Add LoRAGateway node for LoRA management and enhance folder filter state handling

This commit is contained in:
Will Miao
2025-01-30 22:03:53 +08:00
parent 4b043d54f6
commit 6e861550a7
5 changed files with 78 additions and 16 deletions

View File

@@ -1,13 +1,13 @@
from .nodes import LorasEndpoint
from .nodes.lora_gateway import LoRAGateway
NODE_CLASS_MAPPINGS = {
"LorasEndpoint": LorasEndpoint
"LoRAGateway": LoRAGateway
}
NODE_DISPLAY_NAME_MAPPINGS = {
"LoRAGateway": "LoRAGateway"
}
WEB_DIRECTORY = "./js"
# Add this init function to properly register routes
def init():
LorasEndpoint.add_routes()
__all__ = ['NODE_CLASS_MAPPINGS']
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']