Commit 2b5b9165 authored by vpodpecan's avatar vpodpecan

fixed timeout for MUSE SRL

parent f77f3a6b
......@@ -74,6 +74,9 @@ def MUSE_semantic_role_labeling(input_dict):
url = input_dict['url']
data = input_dict['xml']
import socket
socket.setdefaulttimeout(None)
cli = JSONWSPClient(url)
result = cli.semantic_role_labeling(xml=data)
srl, txt = result.response_dict['result']
......@@ -85,6 +88,9 @@ def MUSE_semantic_role_labeling_tuk(input_dict):
url = input_dict['url']
data = input_dict['xml']
import socket
socket.setdefaulttimeout(None)
cli = JSONWSPClient(url)
result = cli.semantic_role_labeling_tuk(xml=data)
srl, txt = result.response_dict['result']
......
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