Spaces:
Runtime error
Runtime error
changed aggregation strategy
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from AinaTheme import AinaGradioTheme
|
|
3 |
from transformers import pipeline
|
4 |
import gradio as gr
|
5 |
|
6 |
-
ner_pipeline = pipeline("token-classification", model="projecte-aina/multiner_ceil",aggregation_strategy="
|
7 |
|
8 |
def ner(text):
|
9 |
output = ner_pipeline(text)
|
|
|
3 |
from transformers import pipeline
|
4 |
import gradio as gr
|
5 |
|
6 |
+
ner_pipeline = pipeline("token-classification", model="projecte-aina/multiner_ceil",aggregation_strategy="simple")
|
7 |
|
8 |
def ner(text):
|
9 |
output = ner_pipeline(text)
|