Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def analyze_sentence(index, vis_type, vis_format):
|
|
53 |
"offset_x": 20,
|
54 |
"distance": 130
|
55 |
})
|
56 |
-
graph_output = ("<style>.displacy_container svg{margin-top:-
|
57 |
"<div class='displacy_container' style='max-width:100%; zoom:80%; max-height:360px; overflow:auto'>"
|
58 |
+ graph_output +
|
59 |
"</div>"
|
|
|
53 |
"offset_x": 20,
|
54 |
"distance": 130
|
55 |
})
|
56 |
+
graph_output = ("<style>.displacy_container svg{margin-top:-500px;}</style>" +
|
57 |
"<div class='displacy_container' style='max-width:100%; zoom:80%; max-height:360px; overflow:auto'>"
|
58 |
+ graph_output +
|
59 |
"</div>"
|