Spaces:
Runtime error
Runtime error
ashutosh commited on
Commit Β·
2390e19
1
Parent(s): fd5384d
Named Entity Recongnition App
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +2 -2
__pycache__/app.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
|
app.py
CHANGED
|
@@ -30,11 +30,11 @@ gr.close_all()
|
|
| 30 |
demo = gr.Interface(fn=ner,
|
| 31 |
inputs=[gr.Textbox(label="Text to find entities", lines=2)],
|
| 32 |
outputs=[gr.HighlightedText(label="Text with entities")],
|
| 33 |
-
title="
|
| 34 |
description="Find entities using the `dslim/bert-base-NER` model under the hood!",
|
| 35 |
allow_flagging="never",
|
| 36 |
examples=["My name is Ashutosh. I'm from India and I like building Generative AI applications π§ π€ππ."])
|
| 37 |
|
| 38 |
demo.launch()
|
| 39 |
|
| 40 |
-
gr.close_all()
|
|
|
|
| 30 |
demo = gr.Interface(fn=ner,
|
| 31 |
inputs=[gr.Textbox(label="Text to find entities", lines=2)],
|
| 32 |
outputs=[gr.HighlightedText(label="Text with entities")],
|
| 33 |
+
title="Named Entity Recongnition with dslim/bert-base-NER",
|
| 34 |
description="Find entities using the `dslim/bert-base-NER` model under the hood!",
|
| 35 |
allow_flagging="never",
|
| 36 |
examples=["My name is Ashutosh. I'm from India and I like building Generative AI applications π§ π€ππ."])
|
| 37 |
|
| 38 |
demo.launch()
|
| 39 |
|
| 40 |
+
gr.close_all()
|