runtime error
Exit code: 1. Reason: modules will need time to support NumPy 2. Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module> from fastai.vision.all import * File "/usr/local/lib/python3.10/site-packages/fastai/vision/all.py", line 1, in <module> from . import models File "/usr/local/lib/python3.10/site-packages/fastai/vision/models/__init__.py", line 1, in <module> from . import xresnet File "/usr/local/lib/python3.10/site-packages/fastai/vision/models/xresnet.py", line 18, in <module> try: from torchvision.models.utils import load_state_dict_from_url 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 27, in <module> text_input = gr.inputs.Textbox(lines=3 , placeholder="You can only put in a text or an img , else you will get an error! , if there's text we ignore the image") AttributeError: module 'gradio' has no attribute 'inputs'
Container logs:
Fetching error logs...