class_docstr: Used to display a list of images as a gallery that can be scrolled through.
  Preprocessing: this component does *not* accept input.
  Postprocessing: expects a list of images in any format, {List[numpy.array | PIL.Image | str | pathlib.Path]}, or a {List} of (image, {str} caption) tuples and displays them.
  
  Demos: fake_gan
code: def example_inputs(self) -> Any:
      return [
          "https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"
      ]
  
imports: from __future__ import annotations
  from pathlib import Path
  from typing import Any, Callable, List, Literal, Optional, Tuple, Union
  from urllib.parse import urlparse
  import numpy
  from gradio_client.documentation import document, set_documentation_group
  from gradio_client.utils import is_http_url_like
  from PIL import Image
  from gradio import processing_utils, utils
  from gradio.components.base import Component
  from gradio.data_classes import FileData, GradioModel, GradioRootModel
  from gradio.events import Events
label_desc: Use image node_id 4 for calling the Gallery obj's underlying member method code with example usage: obj.example_inputs() and returns: list