truens66's picture
Update app.py
dad1a75 verified
raw
history blame contribute delete
422 Bytes
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)