Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,8 @@ def analyze_sentence(index, vis_type, vis_format):
|
|
50 |
]
|
51 |
}]
|
52 |
graph_output = displacy.render(ex, style="dep", jupyter=False, manual=True, options={"compact": True,
|
53 |
-
"offset_x":
|
|
|
54 |
})
|
55 |
graph_output = ("<div style='max-width:100%; zoom:80%; max-height:360px; overflow:auto'>"
|
56 |
+ graph_output +
|
|
|
50 |
]
|
51 |
}]
|
52 |
graph_output = displacy.render(ex, style="dep", jupyter=False, manual=True, options={"compact": True,
|
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 +
|