Rifky commited on
Commit
80720b9
·
1 Parent(s): 51f703a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -90,7 +90,7 @@ if submit:
90
  with st.expander("Related Articles"):
91
  for i in sorted[:5]:
92
  # st.write(f"""""",unsafe_allow_html=True)
93
- st.write(f"""
94
- <small style="text-align:left;">{data["url"][i].split("/")[2]}</small><br>
95
- <a href={data["url"][i]} style="text-align:left;">{data["title"][i]}</a>
96
  """, unsafe_allow_html=True)
 
90
  with st.expander("Related Articles"):
91
  for i in sorted[:5]:
92
  # st.write(f"""""",unsafe_allow_html=True)
93
+ st.markdown(f"""
94
+ <small style="text-align: left;">{data["url"][i].split("/")[2]}</small><br>
95
+ <a href={data["url"][i]} style="text-align: left;">{data["title"][i]}</a>
96
  """, unsafe_allow_html=True)