Commit
·
daced8d
1
Parent(s):
f8d9c07
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,6 @@ from transformers import pipeline
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
model_checkpoint = "MuntasirHossain/bert-finetuned-ner"
|
| 5 |
-
|
| 6 |
model = pipeline("ner", model=model_checkpoint, aggregation_strategy="simple")
|
| 7 |
|
| 8 |
def ner(text):
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
model_checkpoint = "MuntasirHossain/bert-finetuned-ner"
|
|
|
|
| 5 |
model = pipeline("ner", model=model_checkpoint, aggregation_strategy="simple")
|
| 6 |
|
| 7 |
def ner(text):
|