Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ with col3:
|
|
186 |
try:
|
187 |
st.subheader("Mental map")
|
188 |
st.write(
|
189 |
-
"This is a 2D knowledge graph from simple :red-background[semantic role labeling] of the reddit post using spaCy, NetworkX, and Matplotlib. :red-background[
|
190 |
)
|
191 |
person = int(event.selection.rows[0])
|
192 |
plt.clf()
|
|
|
186 |
try:
|
187 |
st.subheader("Mental map")
|
188 |
st.write(
|
189 |
+
"This is a 2D knowledge graph from simple :red-background[semantic role labeling] of the reddit post using spaCy, NetworkX, and Matplotlib. :red-background[Tick the box next to the row of interest to display the mental map of the individual post]. The graph shows the relationship between the subject, verb, and object at singular level, to complement the full-level overview of the word clouds. It takes a moment to load the data and if the image does not show, it is because some of the posts are deleted or removed in the original dataset."
|
190 |
)
|
191 |
person = int(event.selection.rows[0])
|
192 |
plt.clf()
|