Spaces:
Running
Running
File size: 422 Bytes
79316ec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
import pipeline # Keep this if needed for `deepfakes_image_predict`
title = "EfficientNetV2 Deepfakes Image Detector"
description = "EfficientNetV2 Deepfakes Image Detector using frame-by-frame detection."
image_interface = gr.Interface(
pipeline.deepfakes_image_predict,
gr.Image(),
"text",
cache_examples=False
)
if __name__ == "__main__":
image_interface.launch(share=False)
|