runtime error
Exit code: 1. Reason: ce = 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:84.) device: torch.device = torch.device("cpu"), (1) Loading model... /usr/local/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead. warnings.warn( /usr/local/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=ResNet18_Weights.IMAGENET1K_V1`. You can also use `weights=ResNet18_Weights.DEFAULT` to get the most up-to-date weights. warnings.warn(msg) Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /home/user/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth 0%| | 0.00/44.7M [00:00<?, ?B/s][A 100%|ββββββββββ| 44.7M/44.7M [00:00<00:00, 321MB/s] initialize network with N02 initialize network with N02 initialize network with N02 files/iam_model.pth : Model loaded Successfully /usr/local/lib/python3.10/site-packages/gradio/components/dropdown.py:226: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: files/example_data/style-30 or set allow_custom_value=True. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 95, in <module> iface = gr.Interface( File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 190, in __init__ super().__init__( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in __init__ super().__init__(render=False, **kwargs) TypeError: BlockContext.__init__() got an unexpected keyword argument 'thumbnail'
Container logs:
Fetching error logs...