latest pypi version

This commit is contained in:
Abubakar Abid 2019-04-20 00:24:37 -07:00
parent e6915a6ee5
commit 481dc5a558
5 changed files with 6 additions and 2 deletions

View File

@ -208,6 +208,7 @@ def serve_files_in_background(interface, port, directory_to_serve=None):
# Read body of the request.
if self.path == "/api/predict/":
print("got hereffffffffffff")
# Make the prediction.
self._set_headers()
data_string = self.rfile.read(int(self.headers["Content-Length"]))
@ -221,6 +222,7 @@ def serve_files_in_background(interface, port, directory_to_serve=None):
self.wfile.write(json.dumps(output).encode())
elif self.path == "/api/flag/":
print("got here")
self._set_headers()
data_string = self.rfile.read(int(self.headers["Content-Length"]))
print('data_string', data_string)

View File

@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: gradio
Version: 0.7.5
Version: 0.7.6
Summary: Python library for easily interacting with trained machine learning models
Home-page: https://github.com/abidlabs/gradio
Author: Abubakar Abid

View File

@ -208,6 +208,7 @@ def serve_files_in_background(interface, port, directory_to_serve=None):
# Read body of the request.
if self.path == "/api/predict/":
print("got hereffffffffffff")
# Make the prediction.
self._set_headers()
data_string = self.rfile.read(int(self.headers["Content-Length"]))
@ -221,6 +222,7 @@ def serve_files_in_background(interface, port, directory_to_serve=None):
self.wfile.write(json.dumps(output).encode())
elif self.path == "/api/flag/":
print("got here")
self._set_headers()
data_string = self.rfile.read(int(self.headers["Content-Length"]))
print('data_string', data_string)

View File

@ -5,7 +5,7 @@ except ImportError:
setup(
name='gradio',
version='0.7.5',
version='0.7.6',
include_package_data=True,
description='Python library for easily interacting with trained machine learning models',
author='Abubakar Abid',