From 63cdd9602b353adb65c20c2036b4baeccd17f2a8 Mon Sep 17 00:00:00 2001
From: Vesa Halenius <vesa.m.halenius@utu.fi>
Date: Tue, 20 Feb 2018 21:59:23 +0200
Subject: [PATCH] Delete client.py

---
 client/client.py | 13 -------------
 1 file changed, 13 deletions(-)
 delete mode 100644 client/client.py

diff --git a/client/client.py b/client/client.py
deleted file mode 100644
index 395693c..0000000
--- a/client/client.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import requests
-from requests_toolbelt.multipart.encoder import MultipartEncoder
-
-# Send local image file to tensorflow-client 
-multipart_data = MultipartEncoder(
-    fields={
-            # a file upload field
-            'image': ('image.jpg', open('image.jpg', 'rb'), 'text/plain')
-           }
-    )
-
-response = requests.post('http://tensorflow.stop.capstone.utu.fi/api/v1/classifyImage/', data=multipart_data,
-                  headers={'Content-Type': multipart_data.content_type})
\ No newline at end of file
-- 
GitLab