Skip to content
Snippets Groups Projects
Commit 8a367cc6 authored by Vesa Halenius's avatar Vesa Halenius
Browse files

Update sbs_client2.py

parent dff239e1
No related branches found
No related tags found
Loading
...@@ -28,7 +28,7 @@ def sendImage(image): ...@@ -28,7 +28,7 @@ def sendImage(image):
} }
) )
response = requests.post("http://tensorflow.stop.capstone.utu.fi/api/v1/classifyImage/", data=multipart_data, requests.post("http://tensorflow.stop.capstone.utu.fi/api/v1/classifyImage/", data=multipart_data,
headers={"Content-Type": multipart_data.content_type}) headers={"Content-Type": multipart_data.content_type})
# Removing image for security purposes # Removing image for security purposes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment