Skip to content

Commit

Permalink
Update gradio/components/gallery.py
Browse files Browse the repository at this point in the history
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
  • Loading branch information
whitphx and abidlabs committed Dec 9, 2023
1 parent 3403e48 commit f2bfad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradio/components/gallery.py
Expand Up @@ -19,7 +19,7 @@
set_documentation_group("component")


GalleryImageType = Union[np.ndarray, _Image.Image, Path, str]
GalleryImageType = np.ndarray | _Image.Image | Path, str
CaptionedGalleryImageType = Tuple[GalleryImageType, str]


Expand Down

0 comments on commit f2bfad0

Please sign in to comment.