Commit
·
d0d2f52
1
Parent(s):
f3fe141
Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ def ner_tagging(text):
|
|
25 |
|
26 |
return output
|
27 |
|
28 |
-
def
|
29 |
entidades = ner_tagging(text)
|
30 |
return entidades
|
31 |
|
32 |
-
|
33 |
iface.launch()
|
|
|
25 |
|
26 |
return output
|
27 |
|
28 |
+
def process(text):
|
29 |
entidades = ner_tagging(text)
|
30 |
return entidades
|
31 |
|
32 |
+
iface = gr.Interface(fn=get_entities, inputs="text", outputs=['highlight'], examples=examples, title="Test of jurisbert-finetuning-ner ",)
|
33 |
iface.launch()
|