PrashanthB461 commited on
Commit
d0fdccb
·
verified ·
1 Parent(s): b8b6192

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ CONFIG = {
40
  "PUBLIC_URL_BASE": "https://huggingface.co/spaces/PrashanthB461/AI_Safety_Demo2/resolve/main/static/output/",
41
  "FRAME_SKIP": 15,
42
  "MAX_PROCESSING_TIME": 30,
43
- "CONFIDENCE_THRESHOLD": 0.5,
44
  "IOU_THRESHOLD": 0.5 # Added for worker tracking
45
  }
46
 
 
40
  "PUBLIC_URL_BASE": "https://huggingface.co/spaces/PrashanthB461/AI_Safety_Demo2/resolve/main/static/output/",
41
  "FRAME_SKIP": 15,
42
  "MAX_PROCESSING_TIME": 30,
43
+ "CONFIDENCE_THRESHOLD": 0.3, # Lowered threshold for detecting all violations
44
  "IOU_THRESHOLD": 0.5 # Added for worker tracking
45
  }
46