dar-tau commited on
Commit
051d927
·
verified ·
1 Parent(s): 175bc50

Update app.py

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