kyrilloswahid commited on
Commit
777870a
·
verified ·
1 Parent(s): 53f1f65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -32,9 +32,8 @@ def predict(image):
32
 
33
  interface = gr.Interface(
34
  fn=predict,
35
- inputs=gr.Image(type="pil", label="Upload Image"),
36
  outputs=gr.Label(label="Prediction"),
37
- api_name="/predict",
38
  title="Deepfake Image Detector",
39
  description="Upload a full image. The model classifies it as real or fake."
40
  )
 
32
 
33
  interface = gr.Interface(
34
  fn=predict,
35
+ inputs=gr.Image(type="numpy", label="Upload Image"),
36
  outputs=gr.Label(label="Prediction"),
 
37
  title="Deepfake Image Detector",
38
  description="Upload a full image. The model classifies it as real or fake."
39
  )