Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def process_text(text):
|
|
33 |
|
34 |
"""
|
35 |
def highlight_entities(text, entities):
|
36 |
-
|
37 |
highlighted_text = text
|
38 |
for entity in entities:
|
39 |
entity_text = entity["word"]
|
|
|
33 |
|
34 |
"""
|
35 |
def highlight_entities(text, entities):
|
36 |
+
#Highlight identified entities in the input text.
|
37 |
highlighted_text = text
|
38 |
for entity in entities:
|
39 |
entity_text = entity["word"]
|