Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,10 +52,11 @@ def predict(video_file):
|
|
52 |
|
53 |
iface = gr.Interface(
|
54 |
fn=predict,
|
55 |
-
inputs=gr.Video(),
|
56 |
-
outputs=gr.
|
57 |
title="Smart LBW Classifier",
|
58 |
-
description="Upload a cricket video. The
|
59 |
)
|
60 |
|
|
|
61 |
iface.launch()
|
|
|
52 |
|
53 |
iface = gr.Interface(
|
54 |
fn=predict,
|
55 |
+
inputs=gr.Video(),
|
56 |
+
outputs=gr.Video(), # ← return annotated video
|
57 |
title="Smart LBW Classifier",
|
58 |
+
description="Upload a cricket video. The model will analyze the frames and overlay the LBW prediction."
|
59 |
)
|
60 |
|
61 |
+
|
62 |
iface.launch()
|