Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ iface = gr.Interface(
|
|
20 |
fn=predict_image,
|
21 |
inputs=[
|
22 |
gr.Video(label="Upload Video"),
|
23 |
-
gr.Slider(minimum=0, maximum=1, value=0.
|
24 |
label="Confidence threshold"),
|
25 |
gr.Slider(minimum=0, maximum=1, value=0.7, label="IoU threshold"),
|
26 |
],
|
@@ -28,8 +28,8 @@ iface = gr.Interface(
|
|
28 |
title="Basketball Classifier",
|
29 |
description="Have you ever wondered where the ball was when you were playing basketball? Where the rim was? Where you were?",
|
30 |
examples=[
|
31 |
-
["assets/pierre.mov", 0.
|
32 |
-
["assets/basketball.mp4", 0.
|
33 |
]
|
34 |
)
|
35 |
|
|
|
20 |
fn=predict_image,
|
21 |
inputs=[
|
22 |
gr.Video(label="Upload Video"),
|
23 |
+
gr.Slider(minimum=0, maximum=1, value=0.85,
|
24 |
label="Confidence threshold"),
|
25 |
gr.Slider(minimum=0, maximum=1, value=0.7, label="IoU threshold"),
|
26 |
],
|
|
|
28 |
title="Basketball Classifier",
|
29 |
description="Have you ever wondered where the ball was when you were playing basketball? Where the rim was? Where you were?",
|
30 |
examples=[
|
31 |
+
["assets/pierre.mov", 0.85, 0.7],
|
32 |
+
["assets/basketball.mp4", 0.85, 0.7],
|
33 |
]
|
34 |
)
|
35 |
|