runtime error
= await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1315, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1043, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "app.py", line 61, in docgen_func output = query(req_data) File "app.py", line 32, in query response = req.post(API_URL, headers=headers, json=payload) File "/home/user/.local/lib/python3.8/site-packages/requests/api.py", line 115, in post return request("post", url, data=data, json=json, **kwargs) 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/stmnk/codet5-small-code-summarization-python (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f7cdd4db8e0>: Failed to resolve 'api-inference.huggingface.co' ([Errno -3] Temporary failure in name resolution)"))
Container logs:
Fetching error logs...