ikoghoemmanuell
commited on
Commit
•
0ee3803
1
Parent(s):
62deb67
Update app.py
Browse files
app.py
CHANGED
@@ -48,15 +48,13 @@ def detect_fake_news(text):
|
|
48 |
|
49 |
# Home section
|
50 |
if choice == 'Home':
|
51 |
-
|
52 |
-
st.title("TRUTH- A fake news detection app")
|
53 |
|
54 |
# Loading GIF
|
55 |
-
# gif_url = "https://cdn.sanity.io/images/bl383u0v/production/7f8939PFatHW1X9pWaPGHJEnTrBKvKj177D5f378-496x404.gif"
|
56 |
gif_url = "https://thumbs.gfycat.com/AnchoredWeeklyGreatwhiteshark-size_restricted.gif"
|
57 |
st.image(gif_url,
|
58 |
use_column_width=True,
|
59 |
-
width=400)
|
60 |
st.markdown("<h1 style='text-align: center;'>Welcome</h1>", unsafe_allow_html=True)
|
61 |
st.markdown("<p style='text-align: center;'>This is a Fake News Detection App.</p>", unsafe_allow_html=True)
|
62 |
|
|
|
48 |
|
49 |
# Home section
|
50 |
if choice == 'Home':
|
51 |
+
st.markdown("<h1 style='text-align: center;margin-top:0px;'>TRUTH- A fake news detection app</h1>", unsafe_allow_html=True)
|
|
|
52 |
|
53 |
# Loading GIF
|
|
|
54 |
gif_url = "https://thumbs.gfycat.com/AnchoredWeeklyGreatwhiteshark-size_restricted.gif"
|
55 |
st.image(gif_url,
|
56 |
use_column_width=True,
|
57 |
+
width=400, height=200)
|
58 |
st.markdown("<h1 style='text-align: center;'>Welcome</h1>", unsafe_allow_html=True)
|
59 |
st.markdown("<p style='text-align: center;'>This is a Fake News Detection App.</p>", unsafe_allow_html=True)
|
60 |
|