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
3783cb8b
Commit
3783cb8b
authored
Oct 25, 2023
by
Jedrzej Kosinski
Browse files
change 'c_adm' to 'y' in ControlNet.get_control
parent
d1d2fea8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/controlnet.py
comfy/controlnet.py
+1
-1
No files found.
comfy/controlnet.py
View file @
3783cb8b
...
...
@@ -156,7 +156,7 @@ class ControlNet(ControlBase):
context
=
cond
[
'c_crossattn'
]
y
=
cond
.
get
(
'
c_adm
'
,
None
)
y
=
cond
.
get
(
'
y
'
,
None
)
if
y
is
not
None
:
y
=
y
.
to
(
self
.
control_model
.
dtype
)
control
=
self
.
control_model
(
x
=
x_noisy
.
to
(
self
.
control_model
.
dtype
),
hint
=
self
.
cond_hint
,
timesteps
=
t
,
context
=
context
.
to
(
self
.
control_model
.
dtype
),
y
=
y
)
...
...
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