CarlosMalaga commited on
Commit
d753d50
·
verified ·
1 Parent(s): f2b8939

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -267,12 +267,10 @@ def run_client():
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:
 
267
  st.write(display, unsafe_allow_html=True)
268
 
269
  text = """
270
+ <h2 style='color: black;'>Possible Candidates:</h2>
271
+ <ul style='color: black;'>
272
+ """ + "".join(f"<li>{candidate}</li>" for candidate in dict_of_ents_candidates["ents"][2:12]) + "</ul>"
273
+
 
 
274
  st.markdown(text, unsafe_allow_html=True)
275
 
276
  else: