code: def all_components():
      classes_to_check = gr.components.Component.__subclasses__()
      subclasses = []
  
      while classes_to_check:
          subclass = classes_to_check.pop()
          children = subclass.__subclasses__()
  
          if children:
              classes_to_check.extend(children)
          if (
              "value" in inspect.signature(subclass).parameters
              and subclass != gr.components.Component
              and not getattr(subclass, "is_template", False)
          ):
              subclasses.append(subclass)
  
      return subclasses
  
imports: import inspect
  import random
  import time
  import gradio
  import pytest
  from pydub import AudioSegment
label_desc: Use image node_id 18 for calling a global function with example usage: all_components() and returns: subclasses