runtime error

--2024-01-05 21:01:05-- https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.108.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 10472 (10K) [text/plain] Saving to: β€˜imagenet_classes.txt’ 0K .......... 100% 7.37M=0.001s 2024-01-05 21:01:06 (7.37 MB/s) - β€˜imagenet_classes.txt’ saved [10472/10472] Downloading: "https://github.com/pytorch/vision/zipball/v0.10.0" to /home/user/.cache/torch/hub/v0.10.0.zip /home/user/.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( /home/user/.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] 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 44.7M/44.7M [00:00<00:00, 205MB/s] 0%| | 0.00/646k [00:00<?, ?B/s] 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 646k/646k [00:00<00:00, 59.1MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 52, in <module> inputs = gr.inputs.Image(type='pil') AttributeError: module 'gradio' has no attribute 'inputs'

Container logs:

Fetching error logs...