longer timeout
This commit is contained in:
parent
8657c93491
commit
9639e9dc79
@ -13,7 +13,7 @@ def lemmatize_sentences(language_code, sentences):
|
|||||||
'language':language_code,
|
'language':language_code,
|
||||||
'sentences':sentences
|
'sentences':sentences
|
||||||
}
|
}
|
||||||
response = requests.post(url = 'http://concordia-preprocessor:9001/preprocess', json = data)
|
response = requests.post(url = 'http://concordia-preprocessor:9001/preprocess', json = data, timeout = 120)
|
||||||
response_json = json.loads(response.text)
|
response_json = json.loads(response.text)
|
||||||
|
|
||||||
result = {'normalized':[], 'lemmatized':[]}
|
result = {'normalized':[], 'lemmatized':[]}
|
||||||
|
Loading…
Reference in New Issue
Block a user