Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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': '
|
35 |
'Title__c': f'Intruder Detected Frame {frame_id}',
|
36 |
-
'Priority__c': '
|
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}")
|