Hugging Face's logo
mozgov
/
Runtime error

runtime error

host, port, 0, SOCK_STREAM): File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 74, in <module> audio_tokenizer = AudioTokenizer(device) File "/home/user/app/data/tokenizer.py", line 64, in __init__ model = EncodecModel.encodec_model_24khz() File "/home/user/.local/lib/python3.10/site-packages/encodec/model.py", line 279, in encodec_model_24khz state_dict = EncodecModel._get_pretrained(checkpoint_name, repository) File "/home/user/.local/lib/python3.10/site-packages/encodec/model.py", line 262, in _get_pretrained return torch.hub.load_state_dict_from_url(url, map_location='cpu', check_hash=True) # type:ignore File "/home/user/.local/lib/python3.10/site-packages/torch/hub.py", line 746, in load_state_dict_from_url download_url_to_file(url, cached_file, hash_prefix, progress=progress) File "/home/user/.local/lib/python3.10/site-packages/torch/hub.py", line 611, in download_url_to_file u = urlopen(req) File "/usr/local/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python3.10/urllib/request.py", line 519, in open response = self._open(req, data) File "/usr/local/lib/python3.10/urllib/request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/usr/local/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/usr/local/lib/python3.10/urllib/request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/usr/local/lib/python3.10/urllib/request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

Container logs:

Fetching error logs...