Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ for key in ["processed_frames", "slider_value", "processed_video", "start_time"]
|
|
30 |
with st.sidebar:
|
31 |
st.header("Upload & Settings")
|
32 |
source_file = st.file_uploader("Upload image/video", type=["jpg", "jpeg", "png", "bmp", "webp", "mp4"])
|
33 |
-
confidence = float(st.slider("Confidence Threshold", 10, 100,
|
34 |
fps_options = {
|
35 |
"Original FPS": None,
|
36 |
"3 FPS": 3,
|
|
|
30 |
with st.sidebar:
|
31 |
st.header("Upload & Settings")
|
32 |
source_file = st.file_uploader("Upload image/video", type=["jpg", "jpeg", "png", "bmp", "webp", "mp4"])
|
33 |
+
confidence = float(st.slider("Confidence Threshold", 10, 100, 30)) / 100
|
34 |
fps_options = {
|
35 |
"Original FPS": None,
|
36 |
"3 FPS": 3,
|