please use 'application/json' as content-type to post to /predict/senta_lstm
Created by: mango941231
text_list = ["我不爱吃甜食", "我喜欢躺在床上看电影"] text = {"text": text_list} url = "http://192.168.126.186:8866/predict/text/senta_lstm" r = requests.post(url=url, data=text)
运行返回please use 'application/json' as content-type to post to /predict/senta_lstm,是什么原因 代码和Demo一样