File size: 145 Bytes
48f3dfc
 
 
 
 
 
1
2
3
4
5
6
import requests

url = 'http://localhost:5000/predict_api'
r = requests.post(url,json={'negative':0, 'neutral':1, 'positive':2})

print(r.json())