Skip to content

Commit 0746cf9

Browse files
committed
update
1 parent dae09d0 commit 0746cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/single_file.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def build_sub_model_components(
4848
if component_name in pipeline_components:
4949
return {}
5050

51-
model_type = kwargs.get("model_type", None)
51+
model_type = kwargs.pop("model_type", None)
5252
image_size = kwargs.pop("image_size", None)
5353

5454
if component_name == "unet":

0 commit comments

Comments
 (0)