code: def start_app(Task):
      print("Starting server")
      server = Flask(__name__)
      server.secret_key = os.environ.get("secret_key", "secret")
  
      app = dash.Dash(
          __name__, server=server, url_base_pathname="/"
      )  # noqa: E501
      app.title = "InterpreT"
      app.layout = appLayout.get_layout(Task)
      return app
  
file_path: nlp-architect/solutions/InterpreT/application/appConfiguration.py
imports: import os
  import dash
  import pandas
  from flask import Flask
  from dash.dependencies import Input, Output, State
  from dash.exceptions import PreventUpdate
  from termcolor import cprint
  import appLayout
  import plotFunc
label_desc: Use image node_id 2 for calling a global function with example usage: start_app(Task) and returns: app