runtime error

Exit code: 1. Reason: y", line 2136, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1662, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 883, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 87, in predict tensor = transform_image(image=image) File "/home/user/app/app.py", line 24, in transform_image return my_transforms(image_aux).unsqueeze(0).to(device) File "/usr/local/lib/python3.10/site-packages/torchvision/transforms/transforms.py", line 95, in __call__ img = t(img) File "/usr/local/lib/python3.10/site-packages/torchvision/transforms/transforms.py", line 137, in __call__ return F.to_tensor(pic) File "/usr/local/lib/python3.10/site-packages/torchvision/transforms/functional.py", line 167, in to_tensor img = torch.from_numpy(np.array(pic, mode_to_nptype.get(pic.mode, np.uint8), copy=True)) RuntimeError: Numpy is not available Traceback (most recent call last): File "/home/user/app/app.py", line 105, in <module> gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Image(), examples=['color_161.jpg','color_162.jpg']).launch(share=True, server_name="0.0.0.0", server_port=7860) File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2684, in launch raise Exception( Exception: Couldn't start the app because 'http://localhost:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.

Container logs:

Fetching error logs...