From 8d42a97a406e851a77ce889e63abef47c5392df6 Mon Sep 17 00:00:00 2001 From: yiyixuxu Date: Thu, 22 Jan 2026 03:27:46 +0100 Subject: [PATCH] style --- src/diffusers/modular_pipelines/modular_pipeline.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/diffusers/modular_pipelines/modular_pipeline.py b/src/diffusers/modular_pipelines/modular_pipeline.py index 9e2fca465e..e3602bf1cb 100644 --- a/src/diffusers/modular_pipelines/modular_pipeline.py +++ b/src/diffusers/modular_pipelines/modular_pipeline.py @@ -1603,7 +1603,9 @@ class ModularPipeline(ConfigMixin, PushToHubMixin): for name, config_spec in self._config_specs.items(): default_configs[name] = config_spec.default self.register_to_config(**default_configs) - self.register_to_config(_blocks_class_name=self._blocks.__class__.__name__ if self._blocks is not None else None) + self.register_to_config( + _blocks_class_name=self._blocks.__class__.__name__ if self._blocks is not None else None + ) @property def default_call_parameters(self) -> Dict[str, Any]: