Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,8 @@ def predict(image):
|
|
32 |
|
33 |
interface = gr.Interface(
|
34 |
fn=predict,
|
35 |
-
inputs=gr.Image(type="
|
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 |
)
|