    def load_line(self, line: str) -> JsonDict:
        """
        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)
If your inputs are not in JSON-lines format (e.g. you have a CSV)
you can override this function to parse them correctly.
allennlp/predictors/predictor.py