Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,9 +28,9 @@ def classify_video(video_path):
|
|
28 |
interface = gr.Interface(
|
29 |
fn=classify_video,
|
30 |
inputs=gr.Video(label="Upload a video for classification"),
|
31 |
-
outputs=gr.Label(num_top_classes=
|
32 |
title="Video Classification using Hugging Face",
|
33 |
-
description="Upload a video file and get the top
|
34 |
)
|
35 |
|
36 |
# Launch the Gradio interface
|
|
|
28 |
interface = gr.Interface(
|
29 |
fn=classify_video,
|
30 |
inputs=gr.Video(label="Upload a video for classification"),
|
31 |
+
outputs=gr.Label(num_top_classes=5, label="Top 5 Predicted Classes"),
|
32 |
title="Video Classification using Hugging Face",
|
33 |
+
description="Upload a video file and get the top 5 predicted classes using a Hugging Face video classification model."
|
34 |
)
|
35 |
|
36 |
# Launch the Gradio interface
|