"torchvision/csrc/vscode:/vscode.git/clone" did not exist on "1db6907bd137ca006c61657e2a37802e418139d5"
Commit 478f71a2 authored by comfyanonymous's avatar comfyanonymous
Browse files

Remove useless check.

parent 0490ce82
...@@ -16,7 +16,7 @@ class EPS: ...@@ -16,7 +16,7 @@ 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
......
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