fail to connect to service
---------------------------------------------------------------------------
ConnectionError Traceback (most recent call last)
Cell In[1], line 9
7 image = Image.open("bb.png")
8 # Run inference
----> 9 predictor = Predictor(endpoint_id, api_key=api_key)
10 predictions = predictor.predict(image)
File /usr/local/lib/python3.10/site-packages/landingai/predict.py:65, in Predictor.__init__(self, endpoint_id, api_key, check_server_ready)
63 # Check if the cloud inference service is reachable
64 if check_server_ready and not self._check_connectivity(url=Predictor._url):
---> 65 raise ConnectionError(
66 f"Failed to connect to the cloud inference service. Check that {Predictor._url} is accesible from this device"
67 )
69 self._endpoint_id = endpoint_id
70 self._api_credential = load_api_credential(api_key)
ConnectionError: Failed to connect to the cloud inference service. Check that https://predict.app.landing.ai/inference/v1/predict is accesible from this deviceDo I need auth the device inaddtion to api key and endpoint?