Hugging Face's logo
hetorol845
/
Runtime error

runtime error

10<00:00, 33.3MB/s] Downloading: "https://github.com/isl-org/MiDaS/releases/download/v2_1/midas_v21_384.pt" to /home/user/.cache/torch/hub/checkpoints/midas_v21_384.pt 0%| | 0.00/403M [00:00<?, ?B/s] 11%|β–ˆ | 42.9M/403M [00:00<00:00, 449MB/s] 23%|β–ˆβ–ˆβ–Ž | 94.0M/403M [00:00<00:00, 500MB/s] 36%|β–ˆβ–ˆβ–ˆβ–Œ | 144M/403M [00:00<00:00, 512MB/s] 49%|β–ˆβ–ˆβ–ˆβ–ˆβ–‰ | 197M/403M [00:00<00:00, 530MB/s] 62%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 250M/403M [00:00<00:00, 538MB/s] 75%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 301M/403M [00:00<00:00, 529MB/s] 87%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 352M/403M [00:00<00:00, 524MB/s] 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‰| 402M/403M [00:00<00:00, 501MB/s] 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 403M/403M [00:00<00:00, 512MB/s] Using cache found in /home/user/.cache/torch/hub/intel-isl_MiDaS_master Loading weights: None Using cache found in /home/user/.cache/torch/hub/facebookresearch_WSL-Images_main Using cache found in /home/user/.cache/torch/hub/intel-isl_MiDaS_master /home/user/app/app.py:51: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components inputs = gr.inputs.Image(type='pil', label="Original Image") /home/user/app/app.py:51: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect inputs = gr.inputs.Image(type='pil', label="Original Image") /home/user/app/app.py:52: GradioDeprecationWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components outputs = gr.outputs.Image(type="pil",label="Output Image") Traceback (most recent call last): File "/home/user/app/app.py", line 63, in <module> gr.Interface(depth, inputs, outputs, title=title, description=description, article=article, examples=examples, analytics_enabled=False).launch(enable_queue=True,cache_examples=True) TypeError: Blocks.launch() got an unexpected keyword argument 'cache_examples'

Container logs:

Fetching error logs...