Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|