runtime error
s/urllib3/connectionpool.py", line 844, in urlopen retries = retries.increment( File "/home/user/.local/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-inference.huggingface.co', port=443): Max retries exceeded with url: /models/wozniakclub/llama-2-7b-medtext-llama2 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f08f1b79e70>: Failed to resolve 'api-inference.huggingface.co' ([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 11, in <module> output = query({ File "/home/user/app/app.py", line 8, in query response = requests.post(API_URL, headers=headers, json=payload) File "/home/user/.local/lib/python3.10/site-packages/requests/api.py", line 115, in post return request("post", url, data=data, json=json, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-inference.huggingface.co', port=443): Max retries exceeded with url: /models/wozniakclub/llama-2-7b-medtext-llama2 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f08f1b79e70>: Failed to resolve 'api-inference.huggingface.co' ([Errno -3] Temporary failure in name resolution)"))
Container logs:
Fetching error logs...