class_docstr: Sets: sources=["microphone"]
class_docstr_tok: ["Sets",":","sources=","[","``","microphone","''","]"]
code: def __init__(
      self,
      value: str | tuple[int, np.ndarray] | Callable | None = None,
      *,
      sources: list[Literal["upload", "microphone"]]
      | None = ["microphone"],  # noqa: B006
      type: Literal["numpy", "filepath"] = "numpy",
      label: str | None = None,
      show_label: bool = True,
      interactive: bool | None = None,
      visible: bool = True,
      streaming: bool = False,
      elem_id: str | None = None,
      **kwargs,
  ):
      super().__init__(
          value=value,
          sources=sources,
          type=type,
          label=label,
          show_label=show_label,
          interactive=interactive,
          visible=visible,
          streaming=streaming,
          elem_id=elem_id,
          **kwargs,
      )
  
imports: from __future__ import annotations
  from typing import Any, Callable, Iterable, Literal
  import numpy
  from PIL import Image
  from gradio import components
  from gradio.components.image_editor import Brush, Eraser
label_desc: Use image node_id 1 to create a new Microphone object from inherited base classes: components with example: obj = Microphone(value)