christinacdl commited on
Commit
56bad1a
1 Parent(s): a4fd093

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def text_classification(text):
10
  formatted_output = f"The text's label is {label}. I am {score*100:.2f}% sure!"
11
  return formatted_output
12
 
13
- examples=["Your Old Passport Will Be Replaced With Smart E-passport, Here Is Everything You Need To Know", "17 Things That Are Too Real For People Who Always Drop Their Phone"]
14
 
15
  gradio_app = gr.Interface(fn=text_classification,
16
  inputs= gr.Textbox(lines=2, label="Text", placeholder="Enter text here..."),
 
10
  formatted_output = f"The text's label is {label}. I am {score*100:.2f}% sure!"
11
  return formatted_output
12
 
13
+ examples=["Your Old Passport Will Be Replaced With Smart E-passport, Here Is Everything You Need To Know", "17 Things That Are Too Real For People Who Always Drop Their Phone", "Israeli Companies Seek a Worldwide Profile", "Venus Williams beats Marion Bartoli to triumph at Wimbledon"]
14
 
15
  gradio_app = gr.Interface(fn=text_classification,
16
  inputs= gr.Textbox(lines=2, label="Text", placeholder="Enter text here..."),