Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,11 +59,10 @@ def deepfakespredict(input_img):
|
|
59 |
title="EfficientNetV2 Deepfakes Image Detector"
|
60 |
description="This is a demo implementation of EfficientNetV2 Deepfakes Image Detector. To use it, simply upload your image, or click one of the examples to load them."
|
61 |
examples = []
|
62 |
-
|
63 |
inputs = ["image"],
|
64 |
outputs=["text","text","image"],
|
65 |
title=title,
|
66 |
description=description,
|
67 |
examples=examples
|
68 |
-
)
|
69 |
-
demo.launch()
|
|
|
59 |
title="EfficientNetV2 Deepfakes Image Detector"
|
60 |
description="This is a demo implementation of EfficientNetV2 Deepfakes Image Detector. To use it, simply upload your image, or click one of the examples to load them."
|
61 |
examples = []
|
62 |
+
gr.Interface(deepfakespredict,
|
63 |
inputs = ["image"],
|
64 |
outputs=["text","text","image"],
|
65 |
title=title,
|
66 |
description=description,
|
67 |
examples=examples
|
68 |
+
).launch()
|
|