Skip to content

Commit 6da9e63

Browse files
detkovsayakpaul
authored andcommitted
Update pipeline_controlnet_inpaint_sd_xl.py (#7983)
1 parent 784352f commit 6da9e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def __init__(
227227
tokenizer: CLIPTokenizer,
228228
tokenizer_2: CLIPTokenizer,
229229
unet: UNet2DConditionModel,
230-
controlnet: ControlNetModel,
230+
controlnet: Union[ControlNetModel, List[ControlNetModel], Tuple[ControlNetModel], MultiControlNetModel],
231231
scheduler: KarrasDiffusionSchedulers,
232232
requires_aesthetics_score: bool = False,
233233
force_zeros_for_empty_prompt: bool = True,

0 commit comments

Comments
 (0)