Skip to content

Commit 796c992

Browse files
committed
up more
1 parent 0be3dec commit 796c992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/modular_pipelines/modular_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,9 +2520,9 @@ def update_components(self, **kwargs):
25202520
):
25212521
logger.warning(
25222522
f"ModularPipeline.update_components: {name} has no valid _diffusers_load_id. "
2523-
f"Updating the component but skipping spec update, use ComponentSpec.load() for proper specs"
2523+
f"This will result in empty loading spec, use ComponentSpec.load() for proper specs"
25242524
)
2525-
new_component_spec = current_component_spec
2525+
new_component_spec = ComponentSpec(name=name, type_hint=type(component))
25262526
else:
25272527
new_component_spec = ComponentSpec.from_component(name, component)
25282528

0 commit comments

Comments
 (0)