ikoghoemmanuell
commited on
Commit
•
b11414e
1
Parent(s):
0df43cf
Update app.py
Browse files
app.py
CHANGED
@@ -57,18 +57,15 @@ def detect_fake_news(text):
|
|
57 |
|
58 |
# Home section
|
59 |
if choice == 'Home':
|
|
|
60 |
st.image(gif_url,
|
61 |
use_column_width=True,
|
62 |
width=400)
|
63 |
st.markdown("<h1 style='text-align: center;'>Welcome</h1>", unsafe_allow_html=True)
|
64 |
st.markdown("<p style='text-align: center;'>This is a Fake News Detection App.</p>", unsafe_allow_html=True)
|
65 |
|
66 |
-
# Set Page Title
|
67 |
-
st.title('TRUTH- A fake news detection app')
|
68 |
-
st.markdown("Enter some text and we'll tell you if it's likely to be fake news or not!")
|
69 |
-
|
70 |
# Get user input
|
71 |
-
text = st.text_input("Enter some text
|
72 |
|
73 |
if st.button('Predict'):
|
74 |
# Show fake news detection output
|
|
|
57 |
|
58 |
# Home section
|
59 |
if choice == 'Home':
|
60 |
+
st.title('TRUTH- A fake news detection app')
|
61 |
st.image(gif_url,
|
62 |
use_column_width=True,
|
63 |
width=400)
|
64 |
st.markdown("<h1 style='text-align: center;'>Welcome</h1>", unsafe_allow_html=True)
|
65 |
st.markdown("<p style='text-align: center;'>This is a Fake News Detection App.</p>", unsafe_allow_html=True)
|
66 |
|
|
|
|
|
|
|
|
|
67 |
# Get user input
|
68 |
+
text = st.text_input("Enter some text and we'll tell you if it's likely to be fake news or not!")
|
69 |
|
70 |
if st.button('Predict'):
|
71 |
# Show fake news detection output
|