This function uses a public grobid server maintained by Patrice Lopez. You can set up your own local grobid server following instructions from https://grobid.readthedocs.io/ and set the argument grobid_url
to its path (probably http://localhost:8070)