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

0
nodes/__init__.py Normal file
View File

24
nodes/lora_gateway.py Normal file
View File

@@ -0,0 +1,24 @@
from ..lora_manager import LorasEndpoint
class LoRAGateway:
"""
LoRA Gateway Node
Acts as the entry point for LoRA management services
"""
@classmethod
def INPUT_TYPES(cls):
return {
"required": {},
"optional": {}
}
RETURN_TYPES = ()
FUNCTION = "register_services"
CATEGORY = "LoRA Management"
@classmethod
def register_services(cls):
# Service registration logic
LorasEndpoint.add_routes()
return ()