Commit 838db641 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

swapnil naslov servisa za load corpus

parent d554731c
......@@ -36,6 +36,6 @@ def load_corpus(input_dict):
f = safeOpen(input_dict['file'])
fname = os.path.basename(input_dict['file'])
data = base64.b64encode(f.read())
ws = WebService('http://bodysnatcher.ijs.si:8092/totale?wsdl', 600)
ws = WebService('http://vihar.ijs.si:8095/totale?wsdl', 60000)
response = ws.client.parseFile(fileName=fname, inFile=data)
return {'corpus' : response['parsedFile']}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment