Commit 478f71a2 authored by comfyanonymous's avatar comfyanonymous
Browse files

Remove useless check.

parent 0490ce82
......@@ -16,7 +16,7 @@ class EPS:
noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
else:
noise = noise * sigma
if latent_image is not None:
noise += latent_image
return noise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment