We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fffdf82 commit 39a76f9Copy full SHA for 39a76f9
model_zoo/uie/deploy/serving/simple_serving/client.py
@@ -19,9 +19,7 @@
19
headers = {"Content-Type": "application/json"}
20
texts = ['城市内交通费7月5日金额114广州至佛山', '5月9日交通费29元从北苑到望京搜后']
21
data = {
22
- 'data': {
23
- 'text': texts
24
- },
+ 'data': texts
25
}
26
r = requests.post(url=url, headers=headers, data=json.dumps(data))
27
datas = json.loads(r.text)
0 commit comments