Rifky commited on
Commit
62bec3d
1 Parent(s): 1d20a79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -34,6 +34,9 @@ st.markdown("""<h1 style="text-align:center;">Fake News Detection AI</h1>""", un
34
  user_input = st.text_input("Article URL")
35
 
36
  m = st.markdown("""
 
 
 
37
  <style>
38
  div.stButton > button:first-child {
39
  margin: auto;
@@ -88,6 +91,6 @@ if submit:
88
  for i in sorted[:5]:
89
  # st.write(f"""""",unsafe_allow_html=True)
90
  st.write(f"""
91
- <small>{data["url"][i].split("/")[2]}</small><br>
92
- <a href={data["url"][i]}>{data["title"][i]}</a>
93
  """, unsafe_allow_html=True)
 
34
  user_input = st.text_input("Article URL")
35
 
36
  m = st.markdown("""
37
+ * {
38
+ text-align: center;
39
+ }
40
  <style>
41
  div.stButton > button:first-child {
42
  margin: auto;
 
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)