mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-04-19 10:53:29 +00:00
Remove useless check.
This commit is contained in:
parent
0490ce8244
commit
478f71a249
@ -16,8 +16,8 @@ class EPS:
|
|||||||
noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
|
noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
|
||||||
else:
|
else:
|
||||||
noise = noise * sigma
|
noise = noise * sigma
|
||||||
if latent_image is not None:
|
|
||||||
noise += latent_image
|
noise += latent_image
|
||||||
return noise
|
return noise
|
||||||
|
|
||||||
class V_PREDICTION(EPS):
|
class V_PREDICTION(EPS):
|
||||||
|
Loading…
Reference in New Issue
Block a user