Skip to content

Commit 7f97055

Browse files
author
yiyi@huggingface.co
committed
fix test
1 parent 85d8d24 commit 7f97055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/modular_pipelines/modular_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
def _create_default_map_fn(pipeline_class_name: str):
5858
"""Create a mapping function that always returns the same pipeline class."""
5959

60-
def _map_fn(config_dict):
60+
def _map_fn(config_dict=None):
6161
return pipeline_class_name
6262

6363
return _map_fn

0 commit comments

Comments
 (0)