cyber-ner / tests /test.py
yairgalili's picture
streamlit
e1177f7
raw
history blame contribute delete
349 Bytes
import requests
url = "http://localhost:8000/ner"
data = {
"text": "Kaspersky believes both Shamoon and StoneDrill groups are aligned in their interests , but are two separate actors , which might also indicate two different groups working together."
}
response = requests.post(url, json=data)
print(response.text)