code: def find_cls(target_cls):
      for mode in docs:
          for cls in docs[mode]:
              if cls["name"] == target_cls:
                  return cls
      raise ValueError("Class not found")
  
file_path: gradio/js/_website/generate_jsons/src/docs/__init__.py
imports: import html
  import json
  import os
  from gradio_client.documentation import document_cls, generate_documentation
  import gradio
  from ..guides import guides
  import requests
label_desc: Use image node_id 8 for calling a global function with example usage: find_cls(target_cls) and returns: cls