runtime error
) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-inference.huggingface.co', port=443): Max retries exceeded with url: /models/t5-small (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7eff746d9100>: 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 "app.py", line 8, in <module> gr.Interface.load("huggingface/t5-small",title=title,description=description,examples=examples).launch() File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 73, in load interface_info = load_interface(name, src, api_key, alias) File "/home/user/.local/lib/python3.8/site-packages/gradio/external.py", line 257, in load_interface interface_info = repos[src](name, api_key, alias) File "/home/user/.local/lib/python3.8/site-packages/gradio/external.py", line 21, in get_huggingface_interface 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 589, in request resp = self.send(prep, **send_kwargs) File "/home/user/.local/lib/python3.8/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/home/user/.local/lib/python3.8/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/t5-small (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7eff746d9100>: Failed to resolve 'api-inference.huggingface.co' ([Errno -3] Temporary failure in name resolution)"))
Container logs:
Fetching error logs...