1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
This commit is contained in:
yiyixuxu
2025-07-22 02:19:53 +02:00
parent 0be3dec1f7
commit 796c99270c

View File

@@ -2520,9 +2520,9 @@ class ModularPipeline(ConfigMixin, PushToHubMixin):
):
logger.warning(
f"ModularPipeline.update_components: {name} has no valid _diffusers_load_id. "
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"
)
new_component_spec = current_component_spec
new_component_spec = ComponentSpec(name=name, type_hint=type(component))
else:
new_component_spec = ComponentSpec.from_component(name, component)