Skip to content

Conversation

@ASparkOfFire
Copy link
Contributor

Wrong type annotation for latent_size.

Pyright: Argument of type "tuple[Literal[64], Literal[64]]" cannot be assigned to parameter "latent_size" of type "Tuple[int]" in function "generate_image"   "tuple[Literal[64], Literal[64]]" is not assignable to "Tuple[int]"     Tuple size mismatch; expected 1 but received 2

Pyright: Argument of type "tuple[Literal[64], Literal[64]]" cannot be assigned to parameter "latent_size" of type "Tuple[int]" in function "generate_image"
  "tuple[Literal[64], Literal[64]]" is not assignable to "Tuple[int]"
    Tuple size mismatch; expected 1 but received 2
@arda-argmax arda-argmax merged commit 498e5db into argmaxinc:main Apr 11, 2025
1 check passed
@arda-argmax
Copy link
Collaborator

LGTM! Thanks 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants