SuriRaja commited on
Commit
ce25643
·
verified ·
1 Parent(s): 54b3feb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,9 +31,9 @@ def log_intruder_to_salesforce(frame_id):
31
  'HF_Detection_ID__c': f'intruder_{frame_id}_{uuid.uuid4()}',
32
  'Confidence_Score__c': 0.90,
33
  'Description__c': 'Detected unrecognized face from CCTV feed',
34
- 'Status__c': 'Open',
35
  'Title__c': f'Intruder Detected Frame {frame_id}',
36
- 'Priority__c': 'Medium'
37
  })
38
  except Exception as e:
39
  st.warning(f"⚠️ Failed to log to Salesforce: {e}")
 
31
  'HF_Detection_ID__c': f'intruder_{frame_id}_{uuid.uuid4()}',
32
  'Confidence_Score__c': 0.90,
33
  'Description__c': 'Detected unrecognized face from CCTV feed',
34
+ 'Status__c': 'Active',
35
  'Title__c': f'Intruder Detected Frame {frame_id}',
36
+ 'Priority__c': 'High'
37
  })
38
  except Exception as e:
39
  st.warning(f"⚠️ Failed to log to Salesforce: {e}")