runtime error

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> from train_dreambooth import run_training File "/home/user/app/train_dreambooth.py", line 25, in <module> from torchvision import transforms File "/usr/local/lib/python3.10/site-packages/torchvision/__init__.py", line 7, in <module> from torchvision import models File "/usr/local/lib/python3.10/site-packages/torchvision/models/__init__.py", line 16, in <module> from . import detection File "/usr/local/lib/python3.10/site-packages/torchvision/models/detection/__init__.py", line 1, in <module> from .faster_rcnn import * File "/usr/local/lib/python3.10/site-packages/torchvision/models/detection/faster_rcnn.py", line 16, in <module> from .anchor_utils import AnchorGenerator File "/usr/local/lib/python3.10/site-packages/torchvision/models/detection/anchor_utils.py", line 10, in <module> class AnchorGenerator(nn.Module): File "/usr/local/lib/python3.10/site-packages/torchvision/models/detection/anchor_utils.py", line 63, in AnchorGenerator device: torch.device = torch.device("cpu"), /usr/local/lib/python3.10/site-packages/torchvision/models/detection/anchor_utils.py:63: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:68.) device: torch.device = torch.device("cpu"), Traceback (most recent call last): File "/home/user/app/app.py", line 507, in <module> with gr.Box(): AttributeError: module 'gradio' has no attribute 'Box'

Container logs:

Fetching error logs...