Spaces:
Runtime error
Runtime error
abhibisht89
commited on
Commit
•
f865b2e
1
Parent(s):
0cb347b
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def get_med7_ent(text):
|
|
24 |
|
25 |
# [(ent.text, ent.label_) for ent in doc.ents]
|
26 |
|
27 |
-
html = displacy.render(doc, style='ent',
|
28 |
print([(ent.text, ent.label_) for ent in doc.ents])
|
29 |
return html
|
30 |
|
|
|
24 |
|
25 |
# [(ent.text, ent.label_) for ent in doc.ents]
|
26 |
|
27 |
+
html = displacy.render(doc, style='ent',options=options)
|
28 |
print([(ent.text, ent.label_) for ent in doc.ents])
|
29 |
return html
|
30 |
|