blazingbunny commited on
Commit
f0b9975
·
1 Parent(s): d57d7e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -26,6 +26,7 @@ def sample_analyze_entities(text_content, your_query=""):
26
 
27
  st.write("----")
28
 
 
29
  for i, entity in enumerate(entities_list):
30
  st.write(f"Entity {i+1} of {len(entities_list)}")
31
  st.write(f"Relevance Score: {round(entity.get('Salience Score', 0) * 100)}%")
@@ -42,8 +43,9 @@ def sample_analyze_entities(text_content, your_query=""):
42
  if mentions:
43
  st.write("Mentions:")
44
  st.write(', '.join(mentions))
45
-
46
  st.write("----")
 
47
 
48
  st.write(f"### Language of the text: {response.language}")
49
 
 
26
 
27
  st.write("----")
28
 
29
+ st.write("----")
30
  for i, entity in enumerate(entities_list):
31
  st.write(f"Entity {i+1} of {len(entities_list)}")
32
  st.write(f"Relevance Score: {round(entity.get('Salience Score', 0) * 100)}%")
 
43
  if mentions:
44
  st.write("Mentions:")
45
  st.write(', '.join(mentions))
46
+
47
  st.write("----")
48
+
49
 
50
  st.write(f"### Language of the text: {response.language}")
51