switin06 commited on
Commit
d134fe0
·
verified ·
1 Parent(s): 6a44087

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -1,12 +1,12 @@
1
- import gradio as gr
2
- from inference import main
3
-
4
- iface = gr.Interface(
5
- fn=main,
6
- inputs=gr.Video(label="Upload Cricket Video"),
7
- outputs=gr.Video(label="Generated Commentary Video"),
8
- title="Cricket Commentary Generator",
9
- description="Upload a cricket video to generate AI-powered commentary with ambient sound."
10
- )
11
-
12
- iface.launch(debug=True)
 
1
+ import gradio as gr
2
+ from inference import main
3
+
4
+ iface = gr.Interface(
5
+ fn=main,
6
+ inputs=gr.Video(label="Upload Cricket Video"),
7
+ outputs=gr.Video(label="Generated Commentary Video"),
8
+ title="Cricket Commentary Generator",
9
+ description="Upload a cricket video to generate AI-powered commentary with ambient sound."
10
+ )
11
+
12
+ iface.launch(debug=True,share=True)