tstone87 commited on
Commit
3f47bcb
·
verified ·
1 Parent(s): 3bcd916

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ with tabs[0]:
81
  st.write("Upload an image or video to scan for fire or smoke.")
82
  source_file = st.file_uploader("", type=["jpg", "jpeg", "png", "mp4"], label_visibility="collapsed")
83
  confidence = st.slider("Detection Threshold", 0.25, 1.0, 0.4, key="upload_conf")
84
- sampling_options = {"Every Frame": 0, "1 FPS": 1, "2 FPS": 2, "5 FPS": 5}
85
  sampling_rate = st.selectbox("Analysis Rate", list(sampling_options.keys()), index=1, key="sampling_rate")
86
 
87
  with col2:
 
81
  st.write("Upload an image or video to scan for fire or smoke.")
82
  source_file = st.file_uploader("", type=["jpg", "jpeg", "png", "mp4"], label_visibility="collapsed")
83
  confidence = st.slider("Detection Threshold", 0.25, 1.0, 0.4, key="upload_conf")
84
+ sampling_options = {"Every Frame": 0, "1/4 FPS": .25, "2 FPS": 2, "5 FPS": 5}
85
  sampling_rate = st.selectbox("Analysis Rate", list(sampling_options.keys()), index=1, key="sampling_rate")
86
 
87
  with col2: