Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|