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
831511a1
Commit
831511a1
authored
Apr 09, 2024
by
comfyanonymous
Browse files
Fix issue with sampling_settings persisting across models.
parent
4201181b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
comfy/supported_models_base.py
comfy/supported_models_base.py
+2
-1
No files found.
comfy/supported_models_base.py
View file @
831511a1
...
@@ -47,7 +47,8 @@ class BASE:
...
@@ -47,7 +47,8 @@ class BASE:
return
self
.
unet_config
[
"in_channels"
]
>
4
return
self
.
unet_config
[
"in_channels"
]
>
4
def
__init__
(
self
,
unet_config
):
def
__init__
(
self
,
unet_config
):
self
.
unet_config
=
unet_config
self
.
unet_config
=
unet_config
.
copy
()
self
.
sampling_settings
=
self
.
sampling_settings
.
copy
()
self
.
latent_format
=
self
.
latent_format
()
self
.
latent_format
=
self
.
latent_format
()
for
x
in
self
.
unet_extra_config
:
for
x
in
self
.
unet_extra_config
:
self
.
unet_config
[
x
]
=
self
.
unet_extra_config
[
x
]
self
.
unet_config
[
x
]
=
self
.
unet_extra_config
[
x
]
...
...
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