This commit is contained in:
Abubakar Abid 2019-02-19 02:39:37 -08:00
parent 843dd3f91a
commit 73fdba7082
6 changed files with 13 additions and 14 deletions

19
.idea/workspace.xml generated
View File

@ -2,8 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="fd73cd66-e80f-470e-a2ec-e220d3b6b864" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/dist/gradio-0.1.3-py3-none-any.whl" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/gradio-0.1.3.tar.gz" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/gradio/networking.py" beforeDir="false" afterPath="$PROJECT_DIR$/gradio/networking.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/setup.py" beforeDir="false" afterPath="$PROJECT_DIR$/setup.py" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@ -97,7 +96,7 @@
<entry key="gitignore" value="2" />
<entry key="html" value="112" />
<entry key="js" value="272" />
<entry key="py" value="4451" />
<entry key="py" value="4455" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
@ -106,7 +105,7 @@
<entry key="HTML" value="112" />
<entry key="JavaScript" value="272" />
<entry key="PLAIN_TEXT" value="21" />
<entry key="Python" value="4451" />
<entry key="Python" value="4455" />
</counts>
</usages-collector>
</session>
@ -126,7 +125,7 @@
<entry file="file://$PROJECT_DIR$/gradio/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="124" column="11" lean-forward="true" selection-start-line="124" selection-start-column="11" selection-end-line="124" selection-end-column="11" />
<caret line="124" column="11" selection-start-line="124" selection-start-column="11" selection-end-line="124" selection-end-column="11" />
<folding>
<element signature="e#0#14#0" expanded="true" />
<marker date="1550570423744" expanded="true" signature="2592:2837" ph="..." />
@ -162,8 +161,8 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/gradio/networking.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="547">
<caret line="68" selection-start-line="68" selection-end-line="68" />
<state relative-caret-position="597">
<caret line="73" selection-start-line="73" selection-end-line="73" />
<folding>
<element signature="e#0#17#0" expanded="true" />
</folding>
@ -613,7 +612,7 @@
<entry file="file://$PROJECT_DIR$/gradio/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="124" column="11" lean-forward="true" selection-start-line="124" selection-start-column="11" selection-end-line="124" selection-end-column="11" />
<caret line="124" column="11" selection-start-line="124" selection-start-column="11" selection-end-line="124" selection-end-column="11" />
<folding>
<element signature="e#0#14#0" expanded="true" />
<marker date="1550570423744" expanded="true" signature="2592:2837" ph="..." />
@ -623,8 +622,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/gradio/networking.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="547">
<caret line="68" selection-start-line="68" selection-end-line="68" />
<state relative-caret-position="597">
<caret line="73" selection-start-line="73" selection-end-line="73" />
<folding>
<element signature="e#0#17#0" expanded="true" />
</folding>

View File

@ -71,6 +71,6 @@ def kill_processes(process_ids):
if conns.laddr.port in process_ids:
proc.send_signal(SIGTERM) # or SIGKILL
except AccessDenied:
print("Unable to kill process running on port {}, please kill manually.".format(conns.laddr.port))
print("Unable to kill processes, please kill manually.")

Binary file not shown.

View File

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

View File

@ -71,6 +71,6 @@ def kill_processes(process_ids):
if conns.laddr.port in process_ids:
proc.send_signal(SIGTERM) # or SIGKILL
except AccessDenied:
print("Unable to kill process running on port {}, please kill manually.".format(conns.laddr.port))
print("Unable to kill processes, please kill manually.")

View File

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