mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 07:05:43 -03:00
Add LoRAGateway node for LoRA management and enhance folder filter state handling
This commit is contained in:
0
nodes/__init__.py
Normal file
0
nodes/__init__.py
Normal file
24
nodes/lora_gateway.py
Normal file
24
nodes/lora_gateway.py
Normal 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 ()
|
||||
Reference in New Issue
Block a user