Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 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 |
|