Hugging Face's logo
SanchezVFX
/
Runtime error

runtime error

", line 29, in process_example prediction = interface.process(raw_input) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 748, in process predictions = self.run_prediction(processed_input) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 712, in run_prediction prediction = predict_fn(*processed_input) File "app.py", line 26, in inference model, new_session(model) File "/home/user/app/rembg/session_factory.py", line 51, in new_session pooch.retrieve( File "/home/user/.local/lib/python3.8/site-packages/pooch/core.py", line 240, in retrieve stream_download(url, full_path, known_hash, downloader, pooch=None) File "/home/user/.local/lib/python3.8/site-packages/pooch/core.py", line 772, in stream_download downloader(url, tmp, pooch) File "/home/user/.local/lib/python3.8/site-packages/pooch/downloaders.py", line 189, in __call__ response = requests.get(url, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/home/user/.local/lib/python3.8/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/requests/adapters.py", line 565, 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 NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1a0f6c4b80>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Container logs:

Fetching error logs...