Skip to content

Commit 39a76f9

Browse files
authored
Update client.py
1 parent fffdf82 commit 39a76f9

File tree

1 file changed

+1
-3
lines changed
  • model_zoo/uie/deploy/serving/simple_serving

1 file changed

+1
-3
lines changed

model_zoo/uie/deploy/serving/simple_serving/client.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
headers = {"Content-Type": "application/json"}
2020
texts = ['城市内交通费7月5日金额114广州至佛山', '5月9日交通费29元从北苑到望京搜后']
2121
data = {
22-
'data': {
23-
'text': texts
24-
},
22+
'data': texts
2523
}
2624
r = requests.post(url=url, headers=headers, data=json.dumps(data))
2725
datas = json.loads(r.text)

0 commit comments

Comments
 (0)