curtpond commited on
Commit
bf0ed33
1 Parent(s): c71ee2b

More updates to app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -16,8 +16,7 @@ iface = gr.Interface(fn=predict,
16
  outputs=gr.outputs.Label(num_top_classes=3),
17
  title="Text Classification",
18
  description="Classify text as other[0], healthcare[1], or technology[2]",
19
- examples=[
20
- 'This is a text about healthcare', 'This is a text about technology', 'This is a text about other'],
21
  allow_flagging='never'
22
  )
23
 
 
16
  outputs=gr.outputs.Label(num_top_classes=3),
17
  title="Text Classification",
18
  description="Classify text as other[0], healthcare[1], or technology[2]",
19
+ examples=['The indictments were announced Tuesday by the Justice Department in Cairo.', "In 2019, the men's singles winner was Novak Djokovic who defeated Roger Federer in a tournament taking place in the United Kingdom.", 'In a study published by the American Heart Association on January 18, researchers at the Johns Hopkins School of Medicine found that meal timing did not impact weight.'],
 
20
  allow_flagging='never'
21
  )
22