refactor: rename resolution_selector.py to nodes.py, serve JS from ./js; bump 2.1.3
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
from .resolution_selector import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
WEB_DIRECTORY = "./js"
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui_resolutionselectorplus"
|
||||
description = "Custom node for ComfyUI providing easy resolution and empty latent selection for image generation workflows."
|
||||
version = "2.1.2"
|
||||
version = "2.1.3"
|
||||
license = {file = "LICENSE"}
|
||||
|
||||
[project.urls]
|
||||
|
||||
@@ -16,7 +16,7 @@ class MockTorch:
|
||||
sys.modules['torch'] = MockTorch()
|
||||
sys.modules['comfy'] = type('module', (), {'model_management': None})()
|
||||
|
||||
from resolution_selector import (
|
||||
from nodes import (
|
||||
calculate_aspect_ratio,
|
||||
format_resolution,
|
||||
get_resolution_list,
|
||||
|
||||
Reference in New Issue
Block a user