Skip to content

Commit 4bc1c59

Browse files
authored
fix: correct invalid type annotation for image in Flux2Pipeline.__call__ (#13205)
fix: correct invalid type annotation for image in Flux2Pipeline.__call__
1 parent 764f7ed commit 4bc1c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/flux2/pipeline_flux2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def interrupt(self):
744744
@replace_example_docstring(EXAMPLE_DOC_STRING)
745745
def __call__(
746746
self,
747-
image: list[PIL.Image.Image, PIL.Image.Image] | None = None,
747+
image: PIL.Image.Image | list[PIL.Image.Image] | None = None,
748748
prompt: str | list[str] = None,
749749
height: int | None = None,
750750
width: int | None = None,

0 commit comments

Comments
 (0)