mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
1.5.2
This commit is contained in:
parent
8f0c8f0739
commit
c5143e7006
@ -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
|
||||
|
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user