Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,8 +65,7 @@ def process_video(video_type, confidence_threshold=0.9):
|
|
| 65 |
subject=f"Alert: {alert_type} in {video_type}",
|
| 66 |
body=f"Case ID: {case_id}\nDetails: {detections}"
|
| 67 |
)
|
| 68 |
-
salesforce_dispatcher.
|
| 69 |
-
to="+1234567890",
|
| 70 |
message=f"Alert: {alert_type} detected in {video_type}. Case ID: {case_id}"
|
| 71 |
)
|
| 72 |
|
|
|
|
| 65 |
subject=f"Alert: {alert_type} in {video_type}",
|
| 66 |
body=f"Case ID: {case_id}\nDetails: {detections}"
|
| 67 |
)
|
| 68 |
+
salesforce_dispatcher.notify_security_team(
|
|
|
|
| 69 |
message=f"Alert: {alert_type} detected in {video_type}. Case ID: {case_id}"
|
| 70 |
)
|
| 71 |
|