Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -156,7 +156,7 @@ For any inquiries or feedback, please contact [email protected]
|
|
156 |
st.write("Prediction: ", prediction)
|
157 |
# st.write("Prediction[0]: ", prediction[0])
|
158 |
# st.write()
|
159 |
-
if prediction
|
160 |
st.write("This news is predicted to be **real**.:muscle:")
|
161 |
else:
|
162 |
st.write("This news is predicted to be **fake**.:shit:")
|
|
|
156 |
st.write("Prediction: ", prediction)
|
157 |
# st.write("Prediction[0]: ", prediction[0])
|
158 |
# st.write()
|
159 |
+
if prediction.get("Real") > 0.5:
|
160 |
st.write("This news is predicted to be **real**.:muscle:")
|
161 |
else:
|
162 |
st.write("This news is predicted to be **fake**.:shit:")
|