diff --git a/build/lib/gradio/networking.py b/build/lib/gradio/networking.py index 8b0a9b8f9a..03fa75e0c6 100644 --- a/build/lib/gradio/networking.py +++ b/build/lib/gradio/networking.py @@ -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) diff --git a/dist/gradio-0.7.5-py3-none-any.whl b/dist/gradio-0.7.6-py3-none-any.whl similarity index 99% rename from dist/gradio-0.7.5-py3-none-any.whl rename to dist/gradio-0.7.6-py3-none-any.whl index 62cb4d4714..f27866e024 100644 Binary files a/dist/gradio-0.7.5-py3-none-any.whl and b/dist/gradio-0.7.6-py3-none-any.whl differ diff --git a/gradio.egg-info/PKG-INFO b/gradio.egg-info/PKG-INFO index aef3fcae35..2d40549cff 100644 --- a/gradio.egg-info/PKG-INFO +++ b/gradio.egg-info/PKG-INFO @@ -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 diff --git a/gradio/networking.py b/gradio/networking.py index 8b0a9b8f9a..03fa75e0c6 100644 --- a/gradio/networking.py +++ b/gradio/networking.py @@ -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) diff --git a/setup.py b/setup.py index f28529f6b9..428d8defd1 100644 --- a/setup.py +++ b/setup.py @@ -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',