Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,10 +61,10 @@ if image is not None:
|
|
61 |
st.stop()
|
62 |
|
63 |
# Determine if the image is classified as real or fake
|
64 |
-
if result[0]['label'] == '
|
65 |
-
st.write("
|
66 |
else:
|
67 |
-
st.write("
|
68 |
|
69 |
# Display the result
|
70 |
st.subheader("Classification Result")
|
|
|
61 |
st.stop()
|
62 |
|
63 |
# Determine if the image is classified as real or fake
|
64 |
+
if result[0]['label'] == 'FAKE':
|
65 |
+
st.write("This Image is: Fake")
|
66 |
else:
|
67 |
+
st.write("This Image is: Real")
|
68 |
|
69 |
# Display the result
|
70 |
st.subheader("Classification Result")
|