Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,13 +13,13 @@ def text_analysis(text):
|
|
13 |
named_entity_recognition = displacy.render(doc, style="ent")
|
14 |
|
15 |
visual1 = (
|
16 |
-
"<div style='max-width:100%;
|
17 |
+ dependency_parsing
|
18 |
+ "</div>"
|
19 |
)
|
20 |
|
21 |
visual2 = (
|
22 |
-
"<div style='max-width:100%;
|
23 |
+ named_entity_recognition
|
24 |
+ "</div>"
|
25 |
)
|
|
|
13 |
named_entity_recognition = displacy.render(doc, style="ent")
|
14 |
|
15 |
visual1 = (
|
16 |
+
"<div style='max-width:100%; overflow:auto'>"
|
17 |
+ dependency_parsing
|
18 |
+ "</div>"
|
19 |
)
|
20 |
|
21 |
visual2 = (
|
22 |
+
"<div style='max-width:100%; overflow:auto'>"
|
23 |
+ named_entity_recognition
|
24 |
+ "</div>"
|
25 |
)
|