Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
478f71a2
"docs/source/vscode:/vscode.git/clone" did not exist on "0de35e4a5204d2a94edc5ab108b5061a7a7013e8"
Commit
478f71a2
authored
Mar 04, 2024
by
comfyanonymous
Browse files
Remove useless check.
parent
0490ce82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
comfy/model_sampling.py
comfy/model_sampling.py
+2
-2
No files found.
comfy/model_sampling.py
View file @
478f71a2
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment