PierreBrunelle commited on
Commit
95d6281
·
verified ·
1 Parent(s): db31e66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -124,12 +124,13 @@ with gr.Blocks(theme=Soft()) as demo:
124
 
125
  with gr.Column():
126
  gr.Examples(
127
- examples=[
128
- ["bangkok.mp4", "yolox_tiny", 0.25],
129
- ["lotr.mp4", "yolox_m", 0.3],
130
- ["mi.mp4", "yolox_tiny", 0.5],
131
- inputs=[video_file, model_id, threshold]
132
- ]
 
133
  )
134
 
135
  # File upload components for ground truth and PDF documents
 
124
 
125
  with gr.Column():
126
  gr.Examples(
127
+ examples=[
128
+ ["bangkok.mp4", "yolox_tiny", 0.25],
129
+ ["lotr.mp4", "yolox_m", 0.3],
130
+ ["mi.mp4", "yolox_tiny", 0.5],
131
+ ],
132
+ inputs=[video_file, model_id, threshold],
133
+ fn=process_video
134
  )
135
 
136
  # File upload components for ground truth and PDF documents