Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,12 +27,8 @@ gr.close_all()
|
|
27 |
demo = gr.Interface(fn=ner,
|
28 |
inputs=[gr.Textbox(label="Text to find entities", lines=2)],
|
29 |
outputs=[gr.HighlightedText(label="Text with entities")],
|
30 |
-
title="
|
31 |
description="Find entities using the `BERT-base` model under the hood!",
|
32 |
allow_flagging="never",
|
33 |
-
examples=[
|
34 |
-
"Lionel Messi is the greatest footballer of the new century",
|
35 |
-
"Toronto is hockey capital of the world",
|
36 |
-
"S&P 500 has gained 400 points in last trailing 7 days",
|
37 |
-
"Paris is one of most visited cities in the world every year."])
|
38 |
demo.launch()
|
|
|
27 |
demo = gr.Interface(fn=ner,
|
28 |
inputs=[gr.Textbox(label="Text to find entities", lines=2)],
|
29 |
outputs=[gr.HighlightedText(label="Text with entities")],
|
30 |
+
title="Puncituation Predictor",
|
31 |
description="Find entities using the `BERT-base` model under the hood!",
|
32 |
allow_flagging="never",
|
33 |
+
examples=[])
|
|
|
|
|
|
|
|
|
34 |
demo.launch()
|