Spaces:
Sleeping
Sleeping
Commit
·
0a35ca9
1
Parent(s):
b44f61a
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,6 +56,9 @@ def sample_analyze_entities(text_content):
|
|
| 56 |
st.write("Metadata:")
|
| 57 |
st.write(entity.metadata)
|
| 58 |
|
|
|
|
|
|
|
|
|
|
| 59 |
st.write("---")
|
| 60 |
|
| 61 |
# User input for text analysis
|
|
|
|
| 56 |
st.write("Metadata:")
|
| 57 |
st.write(entity.metadata)
|
| 58 |
|
| 59 |
+
if entity.mentions:
|
| 60 |
+
st.write("Mentions:")
|
| 61 |
+
st.write(entity.mentions)
|
| 62 |
st.write("---")
|
| 63 |
|
| 64 |
# User input for text analysis
|