class_docstr: A base class for defining methods that all input/output components should have.
class_docstr_tok: ["A","base","class","for","defining","methods","that","all","input\/output","components","should","have","."]
docstr: Process the input data in a way that can be displayed by the examples dataset component in the front-end.
  By default, this calls the `.postprocess()` method of the component. However, if the `.postprocess()` method is
  computationally intensive, or returns a large payload, a custom implementation may be appropriate.
  
  For example,  the `process_example()` method of the `gr.Audio()` component only returns the name of the file, not
  the processed audio file. The `.process_example()` method of the `gr.Dataframe()` returns the head of a dataframe
  instead of the full dataframe.
  
  The return value of this method must be json-serializable to put in the config.
code: def process_example(self, value):
      """
      Process the input data in a way that can be displayed by the examples dataset component in the front-end.
      By default, this calls the `.postprocess()` method of the component. However, if the `.postprocess()` method is
      computationally intensive, or returns a large payload, a custom implementation may be appropriate.
  
      For example,  the `process_example()` method of the `gr.Audio()` component only returns the name of the file, not
      the processed audio file. The `.process_example()` method of the `gr.Dataframe()` returns the head of a dataframe
      instead of the full dataframe.
  
      The return value of this method must be json-serializable to put in the config.
      """
      return self.postprocess(value)
  
imports: from __future__ import annotations
  import abc
  import hashlib
  import json
  import sys
  import warnings
  from abc import ABC, abstractmethod
  from enum import Enum
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Callable
  from gradio_client.documentation import set_documentation_group
  from PIL import Image
  from gradio import utils
  from gradio.blocks import Block, BlockContext
  from gradio.component_meta import ComponentMeta
  from gradio.data_classes import GradioDataModel
  from gradio.events import EventListener
  from gradio.layouts import Form
  from gradio.processing_utils import move_files_to_cache
label_desc: Use image node_id 8 for calling the Component obj's underlying member method code with example usage: obj.process_example(value) and returns: self