code: def clear_callbacks():
      for callback_list in callback_map.values():
          callback_list.clear()
  
imports: import inspect
  import os
  from collections import namedtuple
  from typing import Optional, Any
  from fastapi import FastAPI
  from gradio import Blocks
  from modules import errors, timer
label_desc: Use image node_id 2 for calling a global function with example usage: clear_callbacks() without return types