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
2023-12-29 13:40:36 +00:00
parent 83c5b8e124
commit 5a8e10e3f4

View File

@@ -163,12 +163,6 @@ def build_component(
)
return controlnet_components
if component_name == "adapter":
adapter_components = create_adapter_model(
pipeline_class_name, original_config, checkpoint, checkpoint_path_or_dict, **kwargs
)
return adapter_components
if component_name == "scheduler":
scheduler_components = create_scheduler(
pipeline_class_name, original_config, checkpoint, checkpoint_path_or_dict, **kwargs