Skip to content

Commit 675ffc2

Browse files
committed
Remove BoundingBoxInvocation field name overrides.
1 parent 44b21f1 commit 675ffc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

invokeai/app/invocations/primitives.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,10 @@ class BoundingBoxCollectionOutput(BaseInvocationOutput):
498498
class BoundingBoxInvocation(BaseInvocation):
499499
"""Create a bounding box manually by supplying box coordinates"""
500500

501-
x_min: int = InputField(default=0, description="x-coordinate of the bounding box's top left vertex", title="X1")
502-
y_min: int = InputField(default=0, description="y-coordinate of the bounding box's top left vertex", title="Y1")
503-
x_max: int = InputField(default=0, description="x-coordinate of the bounding box's bottom right vertex", title="X2")
504-
y_max: int = InputField(default=0, description="y-coordinate of the bounding box's bottom right vertex", title="Y2")
501+
x_min: int = InputField(default=0, description="x-coordinate of the bounding box's top left vertex")
502+
y_min: int = InputField(default=0, description="y-coordinate of the bounding box's top left vertex")
503+
x_max: int = InputField(default=0, description="x-coordinate of the bounding box's bottom right vertex")
504+
y_max: int = InputField(default=0, description="y-coordinate of the bounding box's bottom right vertex")
505505

506506
def invoke(self, context: InvocationContext) -> BoundingBoxOutput:
507507
bounding_box = BoundingBoxField(x_min=self.x_min, y_min=self.y_min, x_max=self.x_max, y_max=self.y_max)

0 commit comments

Comments
 (0)