runtime error
8/site-packages/fsspec/asyn.py", line 106, in sync raise return_result File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 61, in _runner result[0] = await coro File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 273, in create await self.cache() File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 308, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1024, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 834, in call_function prediction = await fn(*processed_input) File "app.py", line 61, in inference for (model, response) in await asyncio.gather(*tasks): File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "app.py", line 39, in fetch response = session.post(api_url, json={"inputs": text, "parameters": {"max_new_tokens": MAX_NEW_TOKENS}}) File "/home/user/.local/lib/python3.8/site-packages/requests/sessions.py", line 637, in post return self.request("POST", url, data=data, json=json, **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/google/flan-ul2 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f306a5e8e50>: Failed to resolve 'api-inference.huggingface.co' ([Errno -3] Temporary failure in name resolution)"))
Container logs:
Fetching error logs...