Commit 498e5db
authored
fix: mlx: Wrong type annotation for latent_size (#52)
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 21 parent 2fc6f7c commit 498e5db
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
0 commit comments