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
0490ce82
Commit
0490ce82
authored
Mar 04, 2024
by
comfyanonymous
Browse files
Fix differential diffusion node for batches.
parent
b2e1744a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy_extras/nodes_differential_diffusion.py
comfy_extras/nodes_differential_diffusion.py
+1
-1
No files found.
comfy_extras/nodes_differential_diffusion.py
View file @
0490ce82
...
@@ -27,7 +27,7 @@ class DifferentialDiffusion():
...
@@ -27,7 +27,7 @@ class DifferentialDiffusion():
ts_from
=
model
.
inner_model
.
model_sampling
.
timestep
(
sigma_from
)
ts_from
=
model
.
inner_model
.
model_sampling
.
timestep
(
sigma_from
)
ts_to
=
model
.
inner_model
.
model_sampling
.
timestep
(
sigma_to
)
ts_to
=
model
.
inner_model
.
model_sampling
.
timestep
(
sigma_to
)
current_ts
=
model
.
inner_model
.
model_sampling
.
timestep
(
sigma
)
current_ts
=
model
.
inner_model
.
model_sampling
.
timestep
(
sigma
[
0
]
)
threshold
=
(
current_ts
-
ts_to
)
/
(
ts_from
-
ts_to
)
threshold
=
(
current_ts
-
ts_to
)
/
(
ts_from
-
ts_to
)
...
...
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