code: def remove_current_script_callbacks():
      stack = [x for x in inspect.stack() if x.filename != __file__]
      filename = stack[0].filename if stack else "unknown file"
      if filename == "unknown file":
          return
      for callback_list in callback_map.values():
          for callback_to_remove in [
              cb for cb in callback_list if cb.script == filename
          ]:
              callback_list.remove(callback_to_remove)
  
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 24 for calling a global function with example usage: remove_current_script_callbacks() without return types