class_docstr: a ``Predictor`` is a thin wrapper around an AllenNLP model that handles JSON -> JSON predictions
  that can be used for serving models through the web API or making predictions in bulk.
class_docstr_tok: ["a","``","Predictor","``","is","a","thin","wrapper","around","an","AllenNLP","model","that","handles","JSON","-",">","JSON","predictions","that","can","be","used","for","serving","models","through","the","web","API","or","making","predictions","in","bulk","."]
docstr: If your inputs are not in JSON-lines format (e.g. you have a CSV)
  you can override this function to parse them correctly.
docstr_tok: ["If","your","inputs","are","not","in","JSON-lines","format","(","e.g",".","you","have","a","CSV",")","you","can","override","this","function","to","parse","them","correctly","."]
code: def load_line(self, line):  # pylint: disable=no-self-use
      """
      If your inputs are not in JSON-lines format (e.g. you have a CSV)
      you can override this function to parse them correctly.
      """
      return json.loads(line)
  
imports: from __future__ import absolute_import
  import json
  from allennlp.common import Registrable
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.util import JsonDict, sanitize
  from allennlp.data import DatasetReader, Instance
  from allennlp.models import Model
  from allennlp.models.archival import load_archive
label_desc: Use image node_id 2 for calling the Predictor obj's underlying member method code with example usage: obj.load_line(line) and returns: json