mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
Add LoRAGateway node for LoRA management and enhance folder filter state handling
This commit is contained in:
14
__init__.py
14
__init__.py
@@ -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']
|
||||
Reference in New Issue
Block a user