code: def on_app_started(callback):
      """register a function to be called when the webui started, the gradio `Block` component and
      fastapi `FastAPI` object are passed as the arguments"""
      add_callback(callback_map["callbacks_app_started"], 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 26 for calling a global function with example usage: on_app_started(callback) without return types