PierreBrunelle commited on
Commit
7f4e676
·
verified ·
1 Parent(s): 7a25568

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -137,15 +137,15 @@ with gr.Blocks(theme=Soft()) as demo:
137
  threshold = gr.Slider(minimum=0.1, maximum=0.9, value=0.25, step=0.05, label="Threshold")
138
 
139
  with gr.Column():
140
- gr.Examples(
141
- examples=[
142
- ["bangkok.mp4", "yolox_tiny", 0.25],
143
- ["lotr.mp4", "yolox_m", 0.3],
144
- ["mi.mp4", "yolox_tiny", 0.5],
145
- ],
146
- inputs=[video_file, model_id, threshold],
147
- fn=process_video
148
- )
149
 
150
  # Button to trigger file processing
151
  process_button = gr.Button("Process Video")
 
137
  threshold = gr.Slider(minimum=0.1, maximum=0.9, value=0.25, step=0.05, label="Threshold")
138
 
139
  with gr.Column():
140
+ gr.Examples(
141
+ examples=[
142
+ ["bangkok.mp4", "yolox_tiny", 0.25],
143
+ ["lotr.mp4", "yolox_m", 0.3],
144
+ ["mi.mp4", "yolox_tiny", 0.5],
145
+ ],
146
+ inputs=[video_file, model_id, threshold],
147
+ fn=process_video
148
+ )
149
 
150
  # Button to trigger file processing
151
  process_button = gr.Button("Process Video")