File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ from groundlight import ExperimentalApi
2+
3+ gl = ExperimentalApi ()
4+
5+ print ('Configuring Edge Endpoint...' )
6+ gl .configure_edge (
7+ edge_inference_configs = {
8+ "tims_config" : {
9+ "enabled" : True ,
10+ "always_return_edge_prediction" : True ,
11+ "disable_cloud_escalation" : False ,
12+ "min_time_between_escalations" : 30.0 ,
13+ },
14+ },
15+ detectors = [
16+ {"detector_id" : "det_31WjVpvBiOmxUBzVqiOa3G2UgMV" , "edge_inference_config" : "tims_config" },
17+ # {"detector_id": "det_346zU49rFpY9I7f1PiuzArYdTdJ", "edge_inference_config": "tims_config"},
18+ # {"detector_id": "det_398G23k3Dn6sRPVHbySHeyGLmai", "edge_inference_config": "tims_config"},
19+ # {"detector_id": "det_39oO6BR1IJjmLOjmWF3F4R4of4o", "edge_inference_config": "tims_config"},
20+ # {"detector_id": "det_2mWrXjFFSGcn2PYKakS7EfYfF3l", "edge_inference_config": "tims_config"},
21+ ],
22+ )
23+ print ("Configured Edge Endpoint successfully!" )
You can’t perform that action at this time.
0 commit comments