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
9424522e
Commit
9424522e
authored
Jun 11, 2024
by
comfyanonymous
Browse files
Reuse code.
parent
73ce1780
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
comfy/model_base.py
comfy/model_base.py
+1
-6
No files found.
comfy/model_base.py
View file @
9424522e
...
...
@@ -573,13 +573,8 @@ class SD3(BaseModel):
return
kwargs
[
"pooled_output"
]
def
extra_conds
(
self
,
**
kwargs
):
out
=
{}
adm
=
self
.
encode_adm
(
**
kwargs
)
if
adm
is
not
None
:
out
[
'y'
]
=
comfy
.
conds
.
CONDRegular
(
adm
)
out
=
super
().
extra_conds
(
**
kwargs
)
cross_attn
=
kwargs
.
get
(
"cross_attn"
,
None
)
if
cross_attn
is
not
None
:
out
[
'c_crossattn'
]
=
comfy
.
conds
.
CONDRegular
(
cross_attn
)
return
out
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