runtime error
0%| | 0.00/646k [00:00<?, ?B/s][A 100%|ββββββββββ| 646k/646k [00:00<00:00, 68.3MB/s] Downloading: "https://github.com/pytorch/vision/zipball/v0.9.0" to /home/user/.cache/torch/hub/v0.9.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=DenseNet121_Weights.IMAGENET1K_V1`. You can also use `weights=DenseNet121_Weights.DEFAULT` to get the most up-to-date weights. warnings.warn(msg) Downloading: "https://download.pytorch.org/models/densenet121-a639ec97.pth" to /home/user/.cache/torch/hub/checkpoints/densenet121-a639ec97.pth 0%| | 0.00/30.8M [00:00<?, ?B/s][A 100%|ββββββββββ| 30.8M/30.8M [00:00<00:00, 342MB/s] --2024-01-06 23:16:36-- https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 10472 (10K) [text/plain] Saving to: βimagenet_classes.txtβ 0K .......... 100% 87.8M=0s 2024-01-06 23:16:36 (87.8 MB/s) - βimagenet_classes.txtβ saved [10472/10472] Traceback (most recent call last): File "/home/user/app/app.py", line 51, in <module> inputs = gr.inputs.Image(type='pil') AttributeError: module 'gradio' has no attribute 'inputs'
Container logs:
Fetching error logs...