fix import

This commit is contained in:
Hans Dembinski
2026-05-10 16:48:30 +02:00
parent e7ad76c92e
commit b27054d7d5
2 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -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,
+2 -2
View File
@@ -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"),