runtime error
nt.py", line 918, in connect self.sock = self._create_connection( File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/local/lib/python3.8/socket.py", line 918, 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 "app.py", line 28, in <module> model = Detoxify('multilingual') File "/home/user/.local/lib/python3.8/site-packages/detoxify/detoxify.py", line 103, in __init__ self.model, self.tokenizer, self.class_names = load_checkpoint( File "/home/user/.local/lib/python3.8/site-packages/detoxify/detoxify.py", line 40, in load_checkpoint loaded = torch.hub.load_state_dict_from_url(checkpoint_path, map_location=device) File "/home/user/.local/lib/python3.8/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.8/site-packages/torch/hub.py", line 611, in download_url_to_file u = urlopen(req) File "/usr/local/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python3.8/urllib/request.py", line 525, in open response = self._open(req, data) File "/usr/local/lib/python3.8/urllib/request.py", line 542, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/usr/local/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/local/lib/python3.8/urllib/request.py", line 1397, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/usr/local/lib/python3.8/urllib/request.py", line 1357, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
Container logs:
Fetching error logs...