Refactor and optimize code for improved readability and maintainability

This commit is contained in:
Will Miao
2025-01-31 16:32:37 +08:00
parent 86b9715ef4
commit 0e708e6583
8 changed files with 428 additions and 383 deletions

View File

@@ -1,6 +1,3 @@
from ..lora_manager import LorasEndpoint
class LoRAGateway:
"""
LoRA Gateway Node
@@ -15,10 +12,4 @@ class LoRAGateway:
RETURN_TYPES = ()
FUNCTION = "register_services"
CATEGORY = "LoRA Management"
@classmethod
def register_services(cls):
# Service registration logic
LorasEndpoint.add_routes()
return ()
CATEGORY = "LoRA Management"