Skip to content

Commit

Permalink
api update
Browse files Browse the repository at this point in the history
  • Loading branch information
yongsk0066 committed Mar 22, 2021
1 parent 251fd86 commit 2674c13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AlphaDongServer/fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def detect_vin_image(files: List[bytes] = File(...)):
# print(vin_result)
headers = {'Content-Type': 'application/json; charset=utf-8'}
res = requests.post(api, headers=headers, data=json.dumps(vin_result))
detect_result = res.json()["results"]["boxs"][0][1]
detect_result = res.json()["results"][0]["boxs"][0][1]
# generate image uuid
print(image_id)

Expand Down
5 changes: 5 additions & 0 deletions apiupdate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
git add .

git commit -m"api update"

git push origin master

0 comments on commit 2674c13

Please sign in to comment.