Add changes to actual space. Also delete old example videos.
Browse files- app.py +7 -5
- examples/babycrawling.mp4 +0 -0
- examples/balancebeam.mp4 +0 -0
- examples/baseball.mp4 +0 -0
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/
|
93 |
-
["examples/
|
94 |
-
["examples/
|
|
|
|
|
95 |
],
|
96 |
-
title="VideoMAE fine-tuned on
|
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/
|
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)
|
|