harshiv commited on
Commit
1e756f0
·
verified ·
1 Parent(s): 42acb46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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