Ron0420 commited on
Commit
56892c1
1 Parent(s): c001150

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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
- demo = gr.Interface(deepfakespredict,
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()