runtime error
rt=443): Max retries exceeded with url: /models/gpt2-medium (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2b792347c0>: Failed to establish a new connection: [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 3, in <module> gr.Interface.load("models/gpt2-medium").launch() File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 99, in load return super().load(name=name, src=src, api_key=api_key, alias=alias, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1228, in load return external.load_blocks_from_repo(name, src, api_key, alias, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/gradio/external.py", line 70, in load_blocks_from_repo blocks: gradio.Blocks = factory_methods[src](name, api_key, alias, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/gradio/external.py", line 108, in from_model response = requests.request("GET", api_url, headers=headers) 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='api-inference.huggingface.co', port=443): Max retries exceeded with url: /models/gpt2-medium (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2b792347c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
Container logs:
Fetching error logs...