switin06's picture
Upload 5 files
e5bf194 verified
raw
history blame
369 Bytes
import gradio as gr
from inference import main
iface = gr.Interface(
fn=main,
inputs=gr.Video(label="Upload Cricket Video"),
outputs=gr.Video(label="Generated Commentary Video"),
title="Cricket Commentary Generator",
description="Upload a cricket video to generate AI-powered commentary with ambient sound."
)
iface.launch(debug=True)