mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): fix mismatched invocation decorator
This got messed up during a merge commit
This commit is contained in:
parent
e4f67628c0
commit
13c9f8ffb7
@ -113,11 +113,11 @@ class ImageCropInvocation(BaseInvocation, WithMetadata):
|
|||||||
|
|
||||||
|
|
||||||
@invocation(
|
@invocation(
|
||||||
"img_paste",
|
invocation_type="img_pad_crop",
|
||||||
title="Paste Image",
|
title="Center Pad or Crop Image",
|
||||||
tags=["image", "paste"],
|
|
||||||
category="image",
|
category="image",
|
||||||
version="1.2.0",
|
tags=["image", "pad", "crop"],
|
||||||
|
version="1.0.0",
|
||||||
)
|
)
|
||||||
class CenterPadCropInvocation(BaseInvocation):
|
class CenterPadCropInvocation(BaseInvocation):
|
||||||
"""Pad or crop an image's sides from the center by specified pixels. Positive values are outside of the image."""
|
"""Pad or crop an image's sides from the center by specified pixels. Positive values are outside of the image."""
|
||||||
@ -168,11 +168,11 @@ class CenterPadCropInvocation(BaseInvocation):
|
|||||||
|
|
||||||
|
|
||||||
@invocation(
|
@invocation(
|
||||||
invocation_type="img_pad_crop",
|
"img_paste",
|
||||||
title="Center Pad or Crop Image",
|
title="Paste Image",
|
||||||
|
tags=["image", "paste"],
|
||||||
category="image",
|
category="image",
|
||||||
tags=["image", "pad", "crop"],
|
version="1.2.0",
|
||||||
version="1.0.0",
|
|
||||||
)
|
)
|
||||||
class ImagePasteInvocation(BaseInvocation, WithMetadata):
|
class ImagePasteInvocation(BaseInvocation, WithMetadata):
|
||||||
"""Pastes an image into another image."""
|
"""Pastes an image into another image."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user