mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove BoundingBoxInvocation field name overrides.
This commit is contained in:
parent
44b21f10f1
commit
675ffc2757
@ -498,10 +498,10 @@ class BoundingBoxCollectionOutput(BaseInvocationOutput):
|
||||
class BoundingBoxInvocation(BaseInvocation):
|
||||
"""Create a bounding box manually by supplying box coordinates"""
|
||||
|
||||
x_min: int = InputField(default=0, description="x-coordinate of the bounding box's top left vertex", title="X1")
|
||||
y_min: int = InputField(default=0, description="y-coordinate of the bounding box's top left vertex", title="Y1")
|
||||
x_max: int = InputField(default=0, description="x-coordinate of the bounding box's bottom right vertex", title="X2")
|
||||
y_max: int = InputField(default=0, description="y-coordinate of the bounding box's bottom right vertex", title="Y2")
|
||||
x_min: int = InputField(default=0, description="x-coordinate of the bounding box's top left vertex")
|
||||
y_min: int = InputField(default=0, description="y-coordinate of the bounding box's top left vertex")
|
||||
x_max: int = InputField(default=0, description="x-coordinate of the bounding box's bottom right vertex")
|
||||
y_max: int = InputField(default=0, description="y-coordinate of the bounding box's bottom right vertex")
|
||||
|
||||
def invoke(self, context: InvocationContext) -> BoundingBoxOutput:
|
||||
bounding_box = BoundingBoxField(x_min=self.x_min, y_min=self.y_min, x_max=self.x_max, y_max=self.y_max)
|
||||
|
Loading…
Reference in New Issue
Block a user