Skip to content

Commit

Permalink
Revert "experiment: break typegen"
Browse files Browse the repository at this point in the history
This reverts commit 6deecda.
  • Loading branch information
psychedelicious committed Dec 19, 2024
1 parent 6deecda commit f2b8633
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions invokeai/app/invocations/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,19 +1055,3 @@ def invoke(self, context: InvocationContext) -> ImageOutput:
image_dto = context.images.save(image=generated_image)

return ImageOutput.build(image_dto)


@invocation(
"test_typegen_invocation",
title="Test Typegen Invocation",
tags=["image"],
category="image",
version="1.2.2",
)
class TestTypegenInvocation(BaseInvocation):
"""Test typegen ci"""

def invoke(self, context: InvocationContext) -> ImageOutput:
image = Image.new("RGBA", (512, 512), (255, 0, 0, 255))
image_dto = context.images.save(image=image)
return ImageOutput.build(image_dto)

0 comments on commit f2b8633

Please sign in to comment.