File tree Expand file tree Collapse file tree
src/diffusers/modular_pipelines Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1351,8 +1351,8 @@ def get_inputs(self):
13511351 input_param .required = False
13521352 return combined_inputs
13531353
1354- # Copied from SequentialPipelineBlocks
13551354 @property
1355+ # Copied from diffusers.modular_pipelines.modular_pipeline.SequentialPipelineBlocks.inputs
13561356 def inputs (self ):
13571357 return self .get_inputs ()
13581358
@@ -1366,7 +1366,7 @@ def intermediates_inputs(self):
13661366 intermediates .append (loop_intermediate_input )
13671367 return intermediates
13681368
1369- # Copied from SequentialPipelineBlocks
1369+ # modified from SequentialPipelineBlocks
13701370 def get_intermediates_inputs (self ):
13711371 inputs = []
13721372 outputs = set ()
@@ -1429,7 +1429,6 @@ def intermediates_outputs(self) -> List[str]:
14291429 return combined_outputs
14301430
14311431 # YiYi TODO: this need to be thought about more
1432- # copied from SequentialPipelineBlocks
14331432 @property
14341433 def outputs (self ) -> List [str ]:
14351434 return next (reversed (self .blocks .values ())).intermediates_outputs
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class ComponentSpec:
8080 name : Optional [str ] = None
8181 type_hint : Optional [Type ] = None
8282 description : Optional [str ] = None
83- config : Optional [FrozenDict [ str , Any ] ] = None
83+ config : Optional [FrozenDict ] = None
8484 # YiYi Notes: should we change it to pretrained_model_name_or_path for consistency? a bit long for a field name
8585 repo : Optional [Union [str , List [str ]]] = field (default = None , metadata = {"loading" : True })
8686 subfolder : Optional [str ] = field (default = None , metadata = {"loading" : True })
You can’t perform that action at this time.
0 commit comments