Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
|
| 5 |
-
ner = pipeline("token-classification", model="chuuhtetnaing/myanmar-ner-model",
|
| 6 |
|
| 7 |
|
| 8 |
def tag_text(text):
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
|
| 5 |
+
ner = pipeline("token-classification", model="chuuhtetnaing/myanmar-ner-model", aggregation_strategy="simple")
|
| 6 |
|
| 7 |
|
| 8 |
def tag_text(text):
|