CarlosMalaga
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -267,12 +267,10 @@ def run_client():
|
|
267 |
st.write(display, unsafe_allow_html=True)
|
268 |
|
269 |
text = """
|
270 |
-
<
|
271 |
-
|
272 |
-
|
273 |
-
|
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:
|