CarlosMalaga commited on
Commit
e211796
1 Parent(s): cd60c46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -266,7 +266,13 @@ def run_client():
266
  with st.container():
267
  st.write(display, unsafe_allow_html=True)
268
 
269
- text = "## Possible Candidates:\n- " + "\n- ".join([candidate for candidate in dict_of_ents_candidates["ents"][:5]])
 
 
 
 
 
 
270
  st.markdown(text, unsafe_allow_html=True)
271
 
272
  else:
 
266
  with st.container():
267
  st.write(display, unsafe_allow_html=True)
268
 
269
+ text = """
270
+ <span style='color: black;'>
271
+ ## Possible Candidates:
272
+ - {}
273
+ </span>
274
+ """.format("\n- ".join(dict_of_ents_candidates["ents"][2:12]))
275
+
276
  st.markdown(text, unsafe_allow_html=True)
277
 
278
  else: