mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
Refactor and optimize code for improved readability and maintainability
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user