runtime error

Exit code: 1. Reason: led. __array__ must implement 'dtype' and 'copy' keyword arguments. To learn more, see the migration guide https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword mask = np.array(outputs.cpu()) Traceback (most recent call last): File "/home/user/app/app.py", line 48, in <module> gr.Interface(fn=transform_image, inputs=gr.inputs.Image(shape=(640, 480)), outputs=gr.outputs.Image(),examples=['color_181.jpg','color_184.jpg','color_187.jpg']).launch(share=False) File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 426, in __init__ cache_interface_examples(self) File "/usr/local/lib/python3.10/site-packages/gradio/process_examples.py", line 51, in cache_interface_examples raise e File "/usr/local/lib/python3.10/site-packages/gradio/process_examples.py", line 47, in cache_interface_examples prediction = process_example(interface, example_id) File "/usr/local/lib/python3.10/site-packages/gradio/process_examples.py", line 29, in process_example prediction = interface.process(raw_input) File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 755, in process processed_output = [ File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 756, in <listcomp> output_component.postprocess(predictions[i]) File "/usr/local/lib/python3.10/site-packages/gradio/components.py", line 1635, in postprocess out_y = processing_utils.encode_array_to_base64(y) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 89, in encode_array_to_base64 PIL_image = Image.fromarray(_convert(image_array, np.uint8, force_copy=False)) File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 284, in _convert np.bool8: (False, True), File "/usr/local/lib/python3.10/site-packages/numpy/__init__.py", line 414, in __getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?

Container logs:

Fetching error logs...