blazingbunny commited on
Commit
2be4187
·
1 Parent(s): c226cf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -84,6 +84,9 @@ def sample_analyze_entities(text_content):
84
  mention_count = len(entity.mentions)
85
  plural = "s" if mention_count > 1 else ""
86
  st.write(f"Mentions: {mention_count} mention{plural}")
 
 
 
87
 
88
  st.write("---")
89
 
 
84
  mention_count = len(entity.mentions)
85
  plural = "s" if mention_count > 1 else ""
86
  st.write(f"Mentions: {mention_count} mention{plural}")
87
+ st.write("Raw Array:")
88
+ st.write(', '.join([mention.text.content for mention in entity.mentions]))
89
+
90
 
91
  st.write("---")
92