diff --git a/recipes/Img2Img.py b/recipes/Img2Img.py index 8562789b2..3bc6f169c 100644 --- a/recipes/Img2Img.py +++ b/recipes/Img2Img.py @@ -43,9 +43,9 @@ class RequestModel(BaseModel): text_prompt: str | None selected_model: typing.Literal[tuple(e.name for e in Img2ImgModels)] | None - selected_controlnet_model: typing.Literal[ - tuple(e.name for e in ControlNetModels) - ] | None + selected_controlnet_model: list[ + typing.Literal[tuple(e.name for e in ControlNetModels)] + ] | typing.Literal[tuple(e.name for e in ControlNetModels)] | None negative_prompt: str | None num_outputs: int | None