Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ iface = gr.Interface(
|
|
77 |
fn=analyze_video,
|
78 |
inputs=[
|
79 |
gr.Video(label="Upload Video"),
|
80 |
-
gr.Slider(minimum=1, maximum=10, step=1,
|
81 |
],
|
82 |
outputs=gr.Textbox(label="Analysis Result"),
|
83 |
title="YOLOv12x Unique Truck Counter",
|
|
|
77 |
fn=analyze_video,
|
78 |
inputs=[
|
79 |
gr.Video(label="Upload Video"),
|
80 |
+
gr.Slider(minimum=1, maximum=10, step=1, value=2, label="Frame Skip Factor"), # Fixed default value
|
81 |
],
|
82 |
outputs=gr.Textbox(label="Analysis Result"),
|
83 |
title="YOLOv12x Unique Truck Counter",
|