Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ if st.button("submit"):
|
|
| 84 |
words=text.split()
|
| 85 |
v=preprocess(words)
|
| 86 |
output=model(v)
|
| 87 |
-
st.write (output
|
| 88 |
# review_status = {
|
| 89 |
# 0: ("✅ Its a Fake news","#FF4500" ), # Green
|
| 90 |
# 1: ("❌ Its not a Fake news ", "#32CD32") # Red-Orange
|
|
|
|
| 84 |
words=text.split()
|
| 85 |
v=preprocess(words)
|
| 86 |
output=model(v)
|
| 87 |
+
st.write (output.argmax())
|
| 88 |
# review_status = {
|
| 89 |
# 0: ("✅ Its a Fake news","#FF4500" ), # Green
|
| 90 |
# 1: ("❌ Its not a Fake news ", "#32CD32") # Red-Orange
|