Skip to content

Commit

Permalink
fix(api): remove trailing space from param name
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jun 10, 2023
1 parent e64b813 commit ac2eceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/convert/diffusion/checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ def extract_checkpoint(
)
unet_config["upcast_attention"] = upcast_attention
if is_inpainting:
unet_config["in_channels "] = 9
unet_config["in_channels"] = 9

unet = UNet2DConditionModel(**unet_config)

Expand Down

0 comments on commit ac2eceb

Please sign in to comment.