el2389 commited on
Commit
db7145a
·
verified ·
1 Parent(s): e7093da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ model = YOLO('yolov8_background1k_best.pt')
11
  st.title("Gun/Arms Detection 🚀")
12
 
13
  # Definir el umbral de confianza
14
- CONFIDENCE_THRESHOLD = 0.55
15
 
16
  # Procesar imágenes con YOLOv8
17
  def detect_objects(image):
 
11
  st.title("Gun/Arms Detection 🚀")
12
 
13
  # Definir el umbral de confianza
14
+ CONFIDENCE_THRESHOLD = 0.30
15
 
16
  # Procesar imágenes con YOLOv8
17
  def detect_objects(image):