code: def image_saved_callback(params: ImageSaveParams):
      for c in callback_map["callbacks_image_saved"]:
          try:
              c.callback(params)
          except Exception:
              report_exception(c, "image_saved_callback")
  
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 10 for calling a global function with example usage: image_saved_callback(params) without return types