runtime error
preprocessor_config.json: 0%| | 0.00/228 [00:00<?, ?B/s][A preprocessor_config.json: 100%|██████████| 228/228 [00:00<00:00, 1.02MB/s] /home/user/.local/lib/python3.10/site-packages/transformers/models/vit/feature_extraction_vit.py:28: FutureWarning: The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use ViTImageProcessor instead. warnings.warn( tokenizer_config.json: 0%| | 0.00/241 [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 241/241 [00:00<00:00, 1.41MB/s] vocab.json: 0%| | 0.00/798k [00:00<?, ?B/s][A vocab.json: 100%|██████████| 798k/798k [00:00<00:00, 51.7MB/s] merges.txt: 0%| | 0.00/456k [00:00<?, ?B/s][A merges.txt: 100%|██████████| 456k/456k [00:00<00:00, 37.9MB/s] tokenizer.json: 0%| | 0.00/1.36M [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 1.36M/1.36M [00:00<00:00, 2.20MB/s] special_tokens_map.json: 0%| | 0.00/120 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 120/120 [00:00<00:00, 638kB/s] config.json: 0%| | 0.00/4.61k [00:00<?, ?B/s][A config.json: 100%|██████████| 4.61k/4.61k [00:00<00:00, 23.5MB/s] pytorch_model.bin: 0%| | 0.00/982M [00:00<?, ?B/s][A pytorch_model.bin: 1%| | 10.5M/982M [00:05<08:56, 1.81MB/s][A pytorch_model.bin: 3%|▎ | 27.9M/982M [00:06<03:21, 4.74MB/s][A pytorch_model.bin: 48%|████▊ | 468M/982M [00:08<00:05, 94.7MB/s] [A pytorch_model.bin: 100%|█████████▉| 982M/982M [00:08<00:00, 112MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 25, in <module> input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True) AttributeError: module 'gradio' has no attribute 'inputs'
Container logs:
Fetching error logs...