ganeshkamath89 commited on
Commit
dbcb4ce
·
verified ·
1 Parent(s): 6b5d349

Changing the format to same as Wikipedia Example

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -15,8 +15,10 @@ demo = gr.Interface (
15
  ["Fate has it's own plans for the common man, which is why we philosophise on the observationg giving it our own interpretation."],
16
  ["The bear reached the river and spotted a school of fish. His hunger started taking its toll."]
17
  ],
18
- inputs=[gr.Textbox(lines=7, label="Story")],
19
- outputs=[gr.Textbox(lines=7, label="Story NER")]
 
 
20
  )
21
 
22
  demo.launch(share=True)
 
15
  ["Fate has it's own plans for the common man, which is why we philosophise on the observationg giving it our own interpretation."],
16
  ["The bear reached the river and spotted a school of fish. His hunger started taking its toll."]
17
  ],
18
+ gr.Text(label="Input Text"),
19
+ [
20
+ gr.Text(label="Entities")
21
+ ]
22
  )
23
 
24
  demo.launch(share=True)