Add fetch metadata from civitai

This commit is contained in:
Will Miao
2025-01-26 13:41:16 +08:00
parent 6e9ed34b92
commit 2007e80a7d
6 changed files with 196 additions and 8 deletions

View File

@@ -9,5 +9,8 @@ WEB_DIRECTORY = "./js"
# Add custom websocket event type
EXTENSION_WEB_SOCKET_MESSAGE_TYPES = ["lora-scan-progress"]
__all__ = ['NODE_CLASS_MAPPINGS']
# Add this init function to properly register routes
def init():
LorasEndpoint.add_routes()
__all__ = ['NODE_CLASS_MAPPINGS']