mingyang91 commited on
Commit
e40afe0
1 Parent(s): 7b1a529

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +3 -3
demo.py CHANGED
@@ -9,9 +9,9 @@ from yolo_fire import detect
9
  def main():
10
  # Header & Page Config.
11
  st.set_page_config(
12
- page_title="Parth - Detr",
13
  layout="centered")
14
- st.title("Object Detection:")
15
 
16
  # This will let you upload PNG, JPG & JPEG File
17
  buffer = st.file_uploader("Upload your Image here", type=["jpg", "png", "jpeg"])
@@ -20,7 +20,7 @@ def main():
20
  # Object Detecting
21
  with st.spinner('Wait for it...'):
22
  # Slider for changing confidence
23
- confidence = st.slider('Confidence Threshold', 0, 100, 60)
24
 
25
  # Calculating time for detection
26
  t1 = time.time()
 
9
  def main():
10
  # Header & Page Config.
11
  st.set_page_config(
12
+ page_title="Fire&Smoke Detection",
13
  layout="centered")
14
+ st.title("Fire&Smoke Detection:")
15
 
16
  # This will let you upload PNG, JPG & JPEG File
17
  buffer = st.file_uploader("Upload your Image here", type=["jpg", "png", "jpeg"])
 
20
  # Object Detecting
21
  with st.spinner('Wait for it...'):
22
  # Slider for changing confidence
23
+ confidence = st.slider('Confidence Threshold', 0, 100, 30)
24
 
25
  # Calculating time for detection
26
  t1 = time.time()