Naveenkumar1546 commited on
Commit
b6cfd2a
·
verified ·
1 Parent(s): 68e759c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -100,13 +100,4 @@ def send_to_salesforce(payload):
100
  "Confidence_Score__c": max([d["score"] for d in payload["detections"]], default=0)
101
  }
102
  headers = {"Content-Type": "application/json"}
103
- requests.post(SALESFORCE_WEBHOOK_URL, json=summary, headers=headers)
104
-
105
- # requirements.txt
106
-
107
- streamlit
108
- opencv-python-headless
109
- requests
110
- ultralytics==8.0.176
111
- transformers==4.39.3
112
- torch>=2.0.0
 
100
  "Confidence_Score__c": max([d["score"] for d in payload["detections"]], default=0)
101
  }
102
  headers = {"Content-Type": "application/json"}
103
+ requests.post(SALESFORCE_WEBHOOK_URL, json=summary, headers=headers)