We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be3dec commit 796c992Copy full SHA for 796c992
src/diffusers/modular_pipelines/modular_pipeline.py
@@ -2520,9 +2520,9 @@ def update_components(self, **kwargs):
2520
):
2521
logger.warning(
2522
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"
+ f"This will result in empty loading spec, use ComponentSpec.load() for proper specs"
2524
)
2525
- new_component_spec = current_component_spec
+ new_component_spec = ComponentSpec(name=name, type_hint=type(component))
2526
else:
2527
new_component_spec = ComponentSpec.from_component(name, component)
2528
0 commit comments