M Bilal Naeem commited on
Commit
974f75c
·
1 Parent(s): 669a5fa
app/services/__pycache__/puffy_eyes_service.cpython-39.pyc CHANGED
Binary files a/app/services/__pycache__/puffy_eyes_service.cpython-39.pyc and b/app/services/__pycache__/puffy_eyes_service.cpython-39.pyc differ
 
app/services/puffy_eyes_service.py CHANGED
@@ -7,7 +7,7 @@ import base64
7
  MODEL_PATH = "app/models/puffy_eyes_model.pt"
8
  model = YOLO(MODEL_PATH)
9
 
10
- CONFIDENCE_THRESHOLD = 0.3
11
 
12
  def predict_puffy_eyes(image: Image):
13
  """Return exactly 2 highest-confidence puffy eye detections with annotated image (if available)."""
 
7
  MODEL_PATH = "app/models/puffy_eyes_model.pt"
8
  model = YOLO(MODEL_PATH)
9
 
10
+ CONFIDENCE_THRESHOLD = 0.25
11
 
12
  def predict_puffy_eyes(image: Image):
13
  """Return exactly 2 highest-confidence puffy eye detections with annotated image (if available)."""