ikoghoemmanuell
commited on
Commit
•
0df43cf
1
Parent(s):
f9609e4
Update app.py
Browse files
app.py
CHANGED
@@ -52,8 +52,6 @@ def detect_fake_news(text):
|
|
52 |
return sentiment, score
|
53 |
|
54 |
|
55 |
-
# Get user input
|
56 |
-
text = st.text_input("Enter some text here:")
|
57 |
|
58 |
|
59 |
|
@@ -69,6 +67,8 @@ if choice == 'Home':
|
|
69 |
st.title('TRUTH- A fake news detection app')
|
70 |
st.markdown("Enter some text and we'll tell you if it's likely to be fake news or not!")
|
71 |
|
|
|
|
|
72 |
|
73 |
if st.button('Predict'):
|
74 |
# Show fake news detection output
|
|
|
52 |
return sentiment, score
|
53 |
|
54 |
|
|
|
|
|
55 |
|
56 |
|
57 |
|
|
|
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 here:")
|
72 |
|
73 |
if st.button('Predict'):
|
74 |
# Show fake news detection output
|