runtime error
Exit code: 1. Reason: release, this won't be allowed. To add the repository to your trusted list, change the command to {calling_fn}(..., trust_repo=False) and a command prompt will appear asking for an explicit confirmation of trust, or load(..., trust_repo=True), which will assume that the prompt is to be answered with 'yes'. You can also use load(..., trust_repo='check') which will only prompt for confirmation if the repo is not already trusted. This will eventually be the default behaviour warnings.warn( Downloading: "https://github.com/intel-isl/MiDaS/zipball/master" to /home/user/.cache/torch/hub/master.zip /usr/local/lib/python3.10/site-packages/torch/functional.py:513: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3609.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] Params passed to Resize transform: width: 512 height: 384 resize_target: True keep_aspect_ratio: True ensure_multiple_of: 32 resize_method: minimal Using pretrained resource url::https://github.com/isl-org/ZoeDepth/releases/download/v1.0/ZoeD_M12_N.pt Downloading: "https://github.com/isl-org/ZoeDepth/releases/download/v1.0/ZoeD_M12_N.pt" to /home/user/.cache/torch/hub/checkpoints/ZoeD_M12_N.pt 0%| | 0.00/1.34G [00:00<?, ?B/s][A 29%|βββ | 394M/1.34G [00:01<00:02, 413MB/s][A 58%|ββββββ | 798M/1.34G [00:02<00:01, 419MB/s][A 87%|βββββββββ | 1.17G/1.34G [00:03<00:00, 421MB/s][A 100%|ββββββββββ| 1.34G/1.34G [00:03<00:00, 422MB/s] Loaded successfully Traceback (most recent call last): File "/home/user/app/app.py", line 35, in <module> create_depth_pred_demo(model) File "/home/user/app/gradio_depth_pred.py", line 13, in create_demo input_image = gr.Image(label="Input Image", type='pil', elem_id='img-display-input').style(height="auto") AttributeError: 'Image' object has no attribute 'style'. Did you mean: 'scale'?
Container logs:
Fetching error logs...