mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
update
This commit is contained in:
@@ -148,7 +148,8 @@ def build_component(
|
||||
**kwargs,
|
||||
):
|
||||
if component_name in kwargs:
|
||||
return kwargs.pop(component_name, None)
|
||||
component = kwargs.pop(component_name, None)
|
||||
return {component_name: component}
|
||||
|
||||
if component_name in pipeline_components:
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user