pierrequereuil commited on
Commit
63a2d64
·
verified ·
1 Parent(s): 84595a8

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.25,
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.25, 0.7],
32
- ["assets/basketball.mp4", 0.25, 0.7],
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