Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ threat_model = RFDETRNano(resolution=640, pretrain_weights=threat_weights_filena
|
|
| 82 |
print("✅ Threat Detection Model loaded successfully!")
|
| 83 |
|
| 84 |
#Global Variables For Threat Detection
|
| 85 |
-
|
| 86 |
"threat_detected": [],
|
| 87 |
"threat_count": 0,
|
| 88 |
"last_update": None
|
|
|
|
| 82 |
print("✅ Threat Detection Model loaded successfully!")
|
| 83 |
|
| 84 |
#Global Variables For Threat Detection
|
| 85 |
+
current_threat_state = {
|
| 86 |
"threat_detected": [],
|
| 87 |
"threat_count": 0,
|
| 88 |
"last_update": None
|