mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-23 11:39:17 +08:00
Update gradio/components/gallery.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
parent
f2bfad0744
commit
4d6e127305
@ -20,7 +20,7 @@ set_documentation_group("component")
|
||||
|
||||
|
||||
GalleryImageType = np.ndarray | _Image.Image | Path, str
|
||||
CaptionedGalleryImageType = Tuple[GalleryImageType, str]
|
||||
CaptionedGalleryImageType = tuple[GalleryImageType, str]
|
||||
|
||||
|
||||
class GalleryImage(GradioModel):
|
||||
|
Loading…
Reference in New Issue
Block a user