"docs/source/vscode:/vscode.git/clone" did not exist on "0de35e4a5204d2a94edc5ab108b5061a7a7013e8"
Commit 478f71a2 authored by comfyanonymous's avatar comfyanonymous
Browse files

Remove useless check.

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