1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
This commit is contained in:
Dhruv Nair
2025-08-09 16:00:24 +02:00
parent 512044c5ea
commit fb8722e9ab

View File

@@ -800,7 +800,7 @@ class SequentialPipelineBlocks(ModularPipelineBlocks):
@property
def model_name(self):
return next(iter(self.sub_blocks.values())).model_name
return next((block.model_name for block in self.sub_blocks.values() if block.model_name is not None), None)
@property
def expected_components(self):