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)