runtime error
Exit code: 1. Reason: preprocessor_config.json: 0%| | 0.00/271 [00:00<?, ?B/s][A preprocessor_config.json: 100%|██████████| 271/271 [00:00<00:00, 1.70MB/s] Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`. /usr/local/lib/python3.10/site-packages/transformers/image_processing_base.py:417: UserWarning: The following named arguments are not valid for `SegformerImageProcessor.__init__` and were ignored: 'reduce_labels' image_processor = cls(**image_processor_dict) config.json: 0%| | 0.00/6.88k [00:00<?, ?B/s][A config.json: 100%|██████████| 6.88k/6.88k [00:00<00:00, 43.1MB/s] model.safetensors: 0%| | 0.00/15.0M [00:00<?, ?B/s][A model.safetensors: 100%|██████████| 15.0M/15.0M [00:00<00:00, 19.4MB/s] Traceback (most recent call last): File "/app/app.py", line 112, in <module> inputs=gr.Image(source="webcam", type="pil"), File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 194, in wrapper return fn(self, **kwargs) TypeError: Image.__init__() got an unexpected keyword argument 'source'
Container logs:
Fetching error logs...