runtime error

Downloading: "https://github.com/pytorch/vision/zipball/v0.6.0" to /home/user/.cache/torch/hub/v0.6.0.zip /usr/local/lib/python3.9/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.9/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] 69%|██████▉ | 30.8M/44.7M [00:00<00:00, 323MB/s] 100%|██████████| 44.7M/44.7M [00:00<00:00, 327MB/s] Traceback (most recent call last): File "/home/user/app/main.py", line 30, in <module> run() File "/home/user/app/main.py", line 22, in run inputs=gr.inputs.Image(type="pil"), AttributeError: module 'gradio' has no attribute 'inputs'

Container logs:

Fetching error logs...