mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
(minor) typo
This commit is contained in:
parent
25067e4f0d
commit
ceae5fe1db
@ -693,7 +693,7 @@ class DenoiseLatentsInvocation(BaseInvocation):
|
|||||||
raise ValueError("'latents' or 'noise' must be provided!")
|
raise ValueError("'latents' or 'noise' must be provided!")
|
||||||
|
|
||||||
if noise is not None and noise.shape[1:] != latents.shape[1:]:
|
if noise is not None and noise.shape[1:] != latents.shape[1:]:
|
||||||
raise ValueError(f"Incompatable 'noise' and 'latents' shapes: {latents.shape=} {noise.shape=}")
|
raise ValueError(f"Incompatible 'noise' and 'latents' shapes: {latents.shape=} {noise.shape=}")
|
||||||
|
|
||||||
# The seed comes from (in order of priority): the noise field, the latents field, or 0.
|
# The seed comes from (in order of priority): the noise field, the latents field, or 0.
|
||||||
seed = 0
|
seed = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user