Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,10 +61,10 @@ class HybridNERManager:
|
|
| 61 |
self.flair_models = {}
|
| 62 |
self.all_entity_colors = {}
|
| 63 |
self.model_names = [
|
| 64 |
-
'
|
| 65 |
-
'
|
| 66 |
-
'
|
| 67 |
-
'
|
| 68 |
]
|
| 69 |
|
| 70 |
def load_model(self, model_name):
|
|
@@ -990,7 +990,6 @@ def create_interface():
|
|
| 990 |
|
| 991 |
<br>
|
| 992 |
<hr style="margin-top: 40px; margin-bottom: 20px;">
|
| 993 |
-
|
| 994 |
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; margin-top: 20px; text-align: center;">
|
| 995 |
<p style="font-size: 14px; line-height: 1.8; margin: 0;">
|
| 996 |
This <strong>NER Explorer Tool</strong> was created as part of the
|
|
|
|
| 61 |
self.flair_models = {}
|
| 62 |
self.all_entity_colors = {}
|
| 63 |
self.model_names = [
|
| 64 |
+
'entities_flair_ner-large',
|
| 65 |
+
'entities_spacy_en_core_web_trf',
|
| 66 |
+
'entities_flair_ner-ontonotes-large',
|
| 67 |
+
'entities_gliner_knowledgator/modern-gliner-bi-large-v1.0'
|
| 68 |
]
|
| 69 |
|
| 70 |
def load_model(self, model_name):
|
|
|
|
| 990 |
|
| 991 |
<br>
|
| 992 |
<hr style="margin-top: 40px; margin-bottom: 20px;">
|
|
|
|
| 993 |
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; margin-top: 20px; text-align: center;">
|
| 994 |
<p style="font-size: 14px; line-height: 1.8; margin: 0;">
|
| 995 |
This <strong>NER Explorer Tool</strong> was created as part of the
|