CCCDev commited on
Commit
59452bd
1 Parent(s): 7b3470d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=3, label="Top 3 Predicted Classes"),
32
  title="Video Classification using Hugging Face",
33
- description="Upload a video file and get the top 3 predicted classes using a Hugging Face video classification model."
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