NeuronZero commited on
Commit
1f49c1b
1 Parent(s): 02216c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -58,8 +58,7 @@ with gr.Blocks() as demo:
58
  example_dropdown.change(lambda x: x, inputs=example_dropdown, outputs=note)
59
  highlight = gr.HighlightedText(label="NER", combine_adjacent=True)
60
  table = gr.Dataframe(headers=["Entity", "Count"])
61
- plot = gr.Plot(label="Bar")
62
- submit.click(run_ner, [note], [highlight, table, plot])
63
- note.submit(run_ner, [note], [highlight, table, plot])
64
 
65
  demo.launch()
 
58
  example_dropdown.change(lambda x: x, inputs=example_dropdown, outputs=note)
59
  highlight = gr.HighlightedText(label="NER", combine_adjacent=True)
60
  table = gr.Dataframe(headers=["Entity", "Count"])
61
+ submit.click(run_ner, [note], [highlight, table])
62
+ note.submit(run_ner, [note], [highlight, table])
 
63
 
64
  demo.launch()