code: def index():
      files = glob.glob(os.path.join(args.root, "*.*"))
      files.sort()
      names = [os.path.basename(f) for f in files]
      return flask.render_template(
          "index.html",
          root=args.root,
          names=names,
          debug_messages=names,
      )
  
file_path: pytorch/caffe2/python/mint/app.py
imports: import argparse
  import flask
  import glob
  import numpy
  import nvd3
  import os
  import sys
  import tornado.httpserver
  import tornado.wsgi
label_desc: Use image node_id 5 for calling a global function with example usage: index() and returns: flask