Ashish08 commited on
Commit
34e29ac
1 Parent(s): a99b369

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -74,9 +74,7 @@ with demo:
74
  gr.Markdown(description)
75
  interface = gr.Interface(fn=ner,
76
  inputs=[gr.Textbox(label="Text to find entities", lines=10)],
77
- outputs=[gr.HighlightedText(label="Text with entities",
78
- combine_adjacent=True,
79
- show_legend=True)],
80
  allow_flagging="never",
81
  examples=["My name is Andrew, I'm building DeeplearningAI and I live in California", "My name is Poli, I live in Vienna and work at HuggingFace"])
82
 
 
74
  gr.Markdown(description)
75
  interface = gr.Interface(fn=ner,
76
  inputs=[gr.Textbox(label="Text to find entities", lines=10)],
77
+ outputs=[gr.HighlightedText(label="Text with entities")],
 
 
78
  allow_flagging="never",
79
  examples=["My name is Andrew, I'm building DeeplearningAI and I live in California", "My name is Poli, I live in Vienna and work at HuggingFace"])
80