Commit 579c9db9 authored by lintangsutawika's avatar lintangsutawika
Browse files

reformat

parent 60007dcf
......@@ -31,8 +31,8 @@ def toxicity_perspective_api(references, predictions, **kwargs):
"requestedAttributes": {"TOXICITY": {}},
}
headers = {
'content-type': 'application/json',
}
"content-type": "application/json",
}
req_response = requests.post(url, data=data, headers=headers)
if req_response.ok:
response = json.loads(req_response.text)
......
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