brijw commited on
Commit
d5df588
1 Parent(s): 6b3cbf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -16,6 +16,18 @@ examples = [
16
  "where did Wandobire's laptop come from, was it africa or uganda?",
17
  ]
18
 
 
 
 
 
 
 
 
 
19
 
20
  gr.Interface(ner_spacy, gr.Textbox(placeholder="Enter sentence here..."),
21
- gr.HighlightedText(), examples=examples).launch()
 
 
 
 
 
16
  "where did Wandobire's laptop come from, was it africa or uganda?",
17
  ]
18
 
19
+ examples_2 = [
20
+ "The Intern was oriented on ICT setup and Infrastructure of Soroti University, drafted workplan and started off the Internship. Simon was encouraged to take the Internship seriously as there was a lot to learn.",
21
+ ]
22
+
23
+ examples_3 = [
24
+ "Partially done, expected a better result based on Steven's experienced. More effort needed ...",
25
+ ]
26
+
27
 
28
  gr.Interface(ner_spacy, gr.Textbox(placeholder="Enter sentence here..."),
29
+ gr.HighlightedText(), examples=[[examples],[examples_2],[examples_3],],
30
+ title="Natural Entity Recognition Model by Brian Joram Wandobire",
31
+ description="takes in a comment as an input and outputs the Entities",
32
+
33
+ ).launch()