This commit is contained in:
Abubakar Abid 2021-01-29 14:17:03 -06:00
parent 8f0c8f0739
commit c5143e7006
3 changed files with 5 additions and 3 deletions

View File

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

View File

@ -478,8 +478,10 @@ def show_tip(io):
relevant_tips = []
if io.interpretation is None:
relevant_tips.append(strings.en["TIP_INTERPRETATION"])
if io.embedding is None and len(io.examples)>4:
if io.embedding is None and not(io.examples is None) and len(io.examples)>4:
relevant_tips.append(strings.en["TIP_EMBEDDING"])
if len(relevant_tips)==0:
return
print(random.choice(relevant_tips))
def launch_counter():

View File

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