omermazig commited on
Commit
117732b
1 Parent(s): b3da2b7

Add changes to actual space. Also delete old example videos.

Browse files
app.py CHANGED
@@ -89,18 +89,20 @@ gr.Interface(
89
  inputs=gr.Video(type="file"),
90
  outputs=gr.Label(num_top_classes=3),
91
  examples=[
92
- ["examples/babycrawling.mp4"],
93
- ["examples/baseball.mp4"],
94
- ["examples/balancebeam.mp4"],
 
 
95
  ],
96
- title="VideoMAE fine-tuned on a subset of UCF-101",
97
  description=(
98
  "Gradio demo for VideoMAE for video classification. To use it, simply upload your video or click one of the"
99
  " examples to load them. Read more at the links below."
100
  ),
101
  article=(
102
  "<div style='text-align: center;'><a href='https://huggingface.co/docs/transformers/model_doc/videomae' target='_blank'>VideoMAE</a>"
103
- " <center><a href='https://huggingface.co/sayakpaul/videomae-base-finetuned-kinetics-finetuned-ucf101-subset' target='_blank'>Fine-tuned Model</a></center></div>"
104
  ),
105
  allow_flagging=False,
106
  allow_screenshot=False,
 
89
  inputs=gr.Video(type="file"),
90
  outputs=gr.Label(num_top_classes=3),
91
  examples=[
92
+ ["examples/DUNK.avi"],
93
+ ["examples/FLOATING_JUMP_SHOT.avi"],
94
+ ["examples/JUMP_SHOT.avi"],
95
+ ["examples/REVERSE_LAYUP.avi"],
96
+ ["examples/TURNAROUND_HOOK_SHOT.avi"],
97
  ],
98
+ title="VideoMAE fine-tuned on nba data",
99
  description=(
100
  "Gradio demo for VideoMAE for video classification. To use it, simply upload your video or click one of the"
101
  " examples to load them. Read more at the links below."
102
  ),
103
  article=(
104
  "<div style='text-align: center;'><a href='https://huggingface.co/docs/transformers/model_doc/videomae' target='_blank'>VideoMAE</a>"
105
+ " <center><a href='https://huggingface.co/omermazig/videomae-finetuned-nba-5-class-8-batch-8000-vid-multiclass_1697155188' target='_blank'>Fine-tuned Model</a></center></div>"
106
  ),
107
  allow_flagging=False,
108
  allow_screenshot=False,
examples/babycrawling.mp4 DELETED
Binary file (309 kB)
 
examples/balancebeam.mp4 DELETED
Binary file (400 kB)
 
examples/baseball.mp4 DELETED
Binary file (199 kB)