Update app.py
Browse files
app.py
CHANGED
@@ -124,12 +124,13 @@ with gr.Blocks(theme=Soft()) as demo:
|
|
124 |
|
125 |
with gr.Column():
|
126 |
gr.Examples(
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
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
|