curtpond commited on
Commit
b488668
1 Parent(s): d89d5b0

Updated first sentence with longer text about a healthcare topic.

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -70,7 +70,9 @@ demo = gr.Interface(fn=run_models,
70
  outputs=[gr.Textbox(label="Predicted Classification Label: Healthcare: 0, Other: 1, Technology: 2", lines=2, placeholder='Predicted label will appear here...'),
71
  gr.HighlightedText(label='Named Entity Recognition Results')],
72
  # These examples are just placeholders; once the LR model is working, we can use longer example text such as paragraphs
73
- 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.'],
 
 
74
  allow_flagging='never'
75
  )
76
 
 
70
  outputs=[gr.Textbox(label="Predicted Classification Label: Healthcare: 0, Other: 1, Technology: 2", lines=2, placeholder='Predicted label will appear here...'),
71
  gr.HighlightedText(label='Named Entity Recognition Results')],
72
  # These examples are just placeholders; once the LR model is working, we can use longer example text such as paragraphs
73
+ examples=['Next to toys and books, there are medications and care charts for baby Elin Anderson who burst onto the scene early.\n "She was only 13.1 ounces, 10 inches long. You could hold her in your hand," said Jill Anderson. "She\'s had 12 surgeries, thousands of blood draws, blood transfusions. She was on a breathing tube for many months before she got this trach. She\'s just been through so much, but she\'s come so far." But the journey to get Elin home took 411 days -- initially because she needed NICU care, but eventually because Jill and Kyle couldn\'t find a home healthcare nurse.',
74
+ "In 2019, the men's singles winner was Novak Djokovic who defeated Roger Federer in a tournament taking place in the United Kingdom.",
75
+ '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.'],
76
  allow_flagging='never'
77
  )
78