chuuhtetnaing commited on
Commit
59a2104
·
verified ·
1 Parent(s): f8ac0a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", grouped_entities=True)
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):