DSatishchandra commited on
Commit
ae655aa
·
verified ·
1 Parent(s): ba42133

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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.send_whatsapp(
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