runtime error
s/gradio/blocks.py", line 1553, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1191, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.10/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.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 659, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 30, in predict 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 507, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='ec2-54-166-81-166.compute-1.amazonaws.com', port=3000): Max retries exceeded with url: /api/v1/prediction/117a5076-c05e-4208-91d9-d0e772bf981e (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f485c6c3d00>, 'Connection to ec2-54-166-81-166.compute-1.amazonaws.com timed out. (connect timeout=None)'))
Container logs:
Fetching error logs...