From 04e1ae4f903af98ef174be9110aaae5e1ab81360 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 4 Oct 2019 17:59:42 -0700 Subject: we do actually want consolidateHeader=2, not 1 --- python/ingest_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/ingest_file.py') diff --git a/python/ingest_file.py b/python/ingest_file.py index 0699a0c..4daa472 100755 --- a/python/ingest_file.py +++ b/python/ingest_file.py @@ -217,7 +217,7 @@ def file_metadata(blob): def do_grobid(sha1hex, blob): grobid_response = requests.post( GROBID_ENDPOINT + "/api/processFulltextDocument", - files={'input': blob, 'consolidateHeader': '1'}, + files={'input': blob, 'consolidateHeader': '2'}, ) info = dict( -- cgit v1.2.3