code: def add_guides():
      for mode in docs:
          for cls in docs[mode]:
              if "guides" not in cls["tags"]:
                  continue
              cls["guides"] = []
              docstring_guides = [
                  guide.strip()
                  for guide in cls["tags"]["guides"].split(",")
              ]
              for docstring_guide in docstring_guides:
                  for guide in guides:
                      if docstring_guide == guide["name"]:
                          cls["guides"].append(guide)
  
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 4 for calling a global function with example usage: add_guides() without return types