Skip to content

Commit d1ef8e0

Browse files
committed
Change order
1 parent 4749675 commit d1ef8e0

File tree

1 file changed

+10
-10
lines changed
  • inference/core/workflows/core_steps/visualizations/icon

1 file changed

+10
-10
lines changed

inference/core/workflows/core_steps/visualizations/icon/v1.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,16 @@ class IconManifest(VisualizationManifest):
5959
}
6060
)
6161

62+
icon: Selector(kind=[IMAGE_KIND]) = Field(
63+
title="Icon Image",
64+
description="The icon image to place on the input image (PNG with transparency recommended)",
65+
examples=["$inputs.icon", "$steps.image_loader.image"],
66+
json_schema_extra={
67+
"always_visible": True,
68+
"order": 3,
69+
},
70+
)
71+
6272
mode: Union[
6373
Literal["static", "dynamic"],
6474
Selector(kind=[STRING_KIND]),
@@ -72,16 +82,6 @@ class IconManifest(VisualizationManifest):
7282
},
7383
)
7484

75-
icon: Selector(kind=[IMAGE_KIND]) = Field(
76-
title="Icon Image",
77-
description="The icon image to place on the input image (PNG with transparency recommended)",
78-
examples=["$inputs.icon", "$steps.image_loader.image"],
79-
json_schema_extra={
80-
"always_visible": True,
81-
"order": 3,
82-
},
83-
)
84-
8585
predictions: Optional[
8686
Selector(
8787
kind=[

0 commit comments

Comments
 (0)