fix import
This commit is contained in:
+1
-3
@@ -2,12 +2,10 @@
|
||||
|
||||
from typing import Any
|
||||
|
||||
from .nodes.native_image_sizes import NativeImageSizes
|
||||
|
||||
|
||||
async def comfy_entrypoint() -> Any:
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
|
||||
from .nodes.native_image_sizes import NativeImageSizes
|
||||
from .nodes.text_encode_qwen_image_edit import (
|
||||
TextEncodeQwenImageEditAlt,
|
||||
TextEncodeQwenImageEditPlusAlt,
|
||||
|
||||
@@ -24,8 +24,8 @@ class NativeImageSizes(io.ComfyNode):
|
||||
node_id=cls.__name__,
|
||||
category="image/resolution",
|
||||
inputs=[
|
||||
io.String.Input("preset", choices=list(IMAGE_SIZE_PRESETS.keys())),
|
||||
io.String.Input("scale", choices=list(SCALE_PRESETS), default="1"),
|
||||
io.Combo.Input("preset", options=list(IMAGE_SIZE_PRESETS.keys())),
|
||||
io.Combo.Input("scale", options=list(SCALE_PRESETS), default="1"),
|
||||
],
|
||||
outputs=[
|
||||
io.Int.Output(display_name="width"),
|
||||
|
||||
Reference in New Issue
Block a user