ikoghoemmanuell
commited on
Commit
•
62deb67
1
Parent(s):
45a62db
Update app.py
Browse files
app.py
CHANGED
@@ -45,14 +45,12 @@ def detect_fake_news(text):
|
|
45 |
score = prediction[0]["score"]
|
46 |
|
47 |
return sentiment, score
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
|
53 |
# Home section
|
54 |
if choice == 'Home':
|
55 |
-
st.markdown("<h1 style='text-align: center;'>TRUTH- A fake news detection app</h1>", unsafe_allow_html=True)
|
|
|
|
|
56 |
# Loading GIF
|
57 |
# gif_url = "https://cdn.sanity.io/images/bl383u0v/production/7f8939PFatHW1X9pWaPGHJEnTrBKvKj177D5f378-496x404.gif"
|
58 |
gif_url = "https://thumbs.gfycat.com/AnchoredWeeklyGreatwhiteshark-size_restricted.gif"
|
|
|
45 |
score = prediction[0]["score"]
|
46 |
|
47 |
return sentiment, score
|
|
|
|
|
|
|
|
|
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 |
+
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"
|