Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,9 +19,9 @@ def predict_image(img):
|
|
19 |
prediction = np.argmax(model.predict(x), axis=1)
|
20 |
|
21 |
if prediction == 0:
|
22 |
-
return 'Fake Image'
|
23 |
-
else:
|
24 |
return 'Real Image'
|
|
|
|
|
25 |
|
26 |
# Define the Gradio Interface with the desired title and description
|
27 |
|
|
|
19 |
prediction = np.argmax(model.predict(x), axis=1)
|
20 |
|
21 |
if prediction == 0:
|
|
|
|
|
22 |
return 'Real Image'
|
23 |
+
else:
|
24 |
+
return 'Fake Image'
|
25 |
|
26 |
# Define the Gradio Interface with the desired title and description
|
27 |
|