Skip to content

Commit

Permalink
decode_latents typing
Browse files Browse the repository at this point in the history
  • Loading branch information
piercus committed Jan 27, 2024
1 parent df3ccc8 commit cb2eee2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def device(self) -> Device:
def dtype(self) -> DType:
return self.ldm.dtype

def decode_latents(self, x: Tensor) -> Image.Image | list[Image.Image]:
def decode_latents(self, x: Tensor) -> Image.Image:
return self.ldm.lda.decode_latents(x=x)

@staticmethod
Expand Down

0 comments on commit cb2eee2

Please sign in to comment.