code: def predict():
      content_type = request.headers.get("Content-Type")
      if content_type == "application/json":
          input_arr = np.array(request.json, dtype=float)
          return jsonify(
              iris_clf_runner.predict.run(input_arr).tolist()
          )
      else:
          return "Content-Type not supported!"
  
imports: import numpy
  from flask import Flask
  from flask import jsonify
  from flask import request
  import bentoml
  from bentoml.io import NumpyNdarray
label_desc: Use image node_id 2 for calling a global function with example usage: predict() and returns: jsonify, str