sravan837 commited on
Commit
c77bfd3
·
verified ·
1 Parent(s): 64ce653

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ weight_softmax = params[-2].data.cpu().numpy() # The weights connecting features
58
 
59
  def run_visual_detection(image):
60
  if image is None: return None, "Waiting for feed..."
61
- results = yolo_model.predict(image, conf=0.40)
62
  return results[0].plot(), f"Objects Detected: {len(results[0].boxes)}"
63
 
64
  def run_thermal_scan(image):
 
58
 
59
  def run_visual_detection(image):
60
  if image is None: return None, "Waiting for feed..."
61
+ results = yolo_model.predict(image, conf=0.65)
62
  return results[0].plot(), f"Objects Detected: {len(results[0].boxes)}"
63
 
64
  def run_thermal_scan(image):