code: def get_static_path():
      package_path = Path(os.path.dirname(os.path.abspath(__file__)))
      app_path = package_path.parent.parent
  
      static_path = app_path / "static"
      if static_path.exists():
          return static_path
  
      static_path = package_path.parent / "static"
      if not static_path.exists():
          static_path = package_path / "static"
      if not static_path.exists():
          raise RuntimeError(
              f"Static folder not found. Package path: {str(package_path)}"
          )
  
      return static_path
  
file_path: labml/app/server/labml_app/flask_app.py
imports: import git
  import logging
  import os
  import time
  import uvicorn
  from fastapi import FastAPI, Request, Response
  from fastapi.logger import logger
  from fastapi.middleware.cors import CORSMiddleware
  from fastapi.responses import FileResponse
  from pathlib import Path
  from time import strftime
  from labml_app import db
  from labml_app import handlers
  from labml_app.logger import logger
  from labml_app.settings import WEB_URL, IS_LOCAL_SETUP
label_desc: Use image node_id 1 for calling a global function with example usage: get_static_path() and returns: static_path, static_path