runtime error
) File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 712, in run_prediction prediction = predict_fn(*processed_input) File "/home/user/app/app.py", line 22, in inference session = new_session(model), File "/home/user/app/rembg/session_factory.py", line 26, in new_session return session_class(model_name, sess_opts, providers, *args, **kwargs) File "/home/user/app/rembg/sessions/base.py", line 32, in __init__ str(self.__class__.download_models()), File "/home/user/app/rembg/sessions/u2net.py", line 37, in download_models pooch.retrieve( File "/usr/local/lib/python3.10/site-packages/pooch/core.py", line 240, in retrieve stream_download(url, full_path, known_hash, downloader, pooch=None) File "/usr/local/lib/python3.10/site-packages/pooch/core.py", line 772, in stream_download downloader(url, tmp, pooch) File "/usr/local/lib/python3.10/site-packages/pooch/downloaders.py", line 189, in __call__ response = requests.get(url, **kwargs) File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /danielgatis/rembg/releases/download/v0.0.0/u2net.onnx (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7fda3e91e9e0>: Failed to resolve 'github.com' ([Errno -3] Temporary failure in name resolution)"))
Container logs:
Fetching error logs...