code: def home(path):
      return send_from_directory(
          os.path.join(
              os.path.dirname(os.path.abspath(__file__)),
              "ui/build",
              os.path.split(path)[0],
          ),
          os.path.split(path)[1],
      )
  
imports: from __future__ import absolute_import, print_function, division, unicode_literals
  import os
  from flask import request, jsonify, send_from_directory, g
  from redis import Redis
  from rq import Connection
  from sqlalchemy import create_engine
  from sklearn.model_selection import ParameterGrid
  from sklearn.model_selection import ParameterSampler
  from xcessiv import app, functions, exceptions, models, rqtasks
  from xcessiv.presets import learnersetting, metricsetting, cvsetting
  import six
label_desc: Use image node_id 3 for calling a global function with example usage: home(path) and returns: send_from_directory