mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2025-06-09 19:39:54 +02:00
fix url
This commit is contained in:
parent
1ec06a3087
commit
e21fbc09a1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def ned(tsv, ner_result, ned_rest_endpoint, json_file=None, threshold=None):
|
|||
|
||||
ner_parsed = json.loads(resp.content)
|
||||
|
||||
ned_rest_endpoint = ned_rest_endpoint + '/ned?return_full=' + str(json_file is not None).lower()
|
||||
ned_rest_endpoint = ned_rest_endpoint + '/ned?return_full=' + str(int(json_file is not None)).lower()
|
||||
|
||||
resp = requests.post(url=ned_rest_endpoint, json=ner_parsed, timeout=3600000)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue