class_docstr: A local custom application for GUnicorns.
  
  This custom application enables us to run with a custom main that parses
  tensorflow ops and does some internal setup prior to processing queries.  The
  underlying app registered instances of this class will be forked.
class_docstr_tok: ["A","local","custom","application","for","GUnicorns",".","This","custom","application","enables","us","to","run","with","a","custom","main","that","parses","tensorflow","ops","and","does","some","internal","setup","prior","to","processing","queries",".","The","underlying","app","registered","instances","of","this","class","will","be","forked","."]
docstr: Creates the GUnicorn application.
  
  Args:
    app: A Flask application that will process requests.
    options: A dict of GUnicorn options.
docstr_tok: ["Creates","the","GUnicorn","application",".","Args",":","app",":","A","Flask","application","that","will","process","requests",".","options",":","A","dict","of","GUnicorn","options","."]
code: def __init__(self, app, options=None):
      """Creates the GUnicorn application.
  
      Args:
        app: A Flask application that will process requests.
        options: A dict of GUnicorn options.
      """
      self.options = options or {}
      self.application = app
      super(DebugFrontendApplication, self).__init__()
  
file_path: tensor2tensor/tensor2tensor/insights/server.py
imports: import json
  from flask import Flask
  from flask import jsonify
  from flask import request
  from flask import send_from_directory
  from flask.json import JSONEncoder
  from gunicorn.app.base import BaseApplication
  from gunicorn.six import iteritems
  import numpy
  from tensor2tensor.insights import transformer_model
  import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new DebugFrontendApplication object from inherited base classes: BaseApplication with example: obj = DebugFrontendApplication(app, options)