runtime error
Space failed to start. Exit code: 1
Container logs:
rpld4 2023-03-24T07:53:17.733Z /home/user/.local/lib/python3.8/site-packages/torch/hub.py:286: UserWarning: You are about to download and run code from an untrusted repository. In a future 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
rpld4 2023-03-24T07:53:17.733Z warnings.warn(
rpld4 2023-03-24T07:53:17.792Z Downloading: "https://github.com/hustvl/yolop/zipball/main" to /home/user/.cache/torch/hub/main.zip
rpld4 2023-03-24T07:53:32.746Z /home/user/.local/lib/python3.8/site-packages/gradio/inputs.py:257: UserWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components
rpld4 2023-03-24T07:53:32.746Z warnings.warn(
rpld4 2023-03-24T07:53:32.746Z /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect
rpld4 2023-03-24T07:53:32.746Z warnings.warn(value)
rpld4 2023-03-24T07:53:32.746Z /home/user/.local/lib/python3.8/site-packages/gradio/outputs.py:43: UserWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components
rpld4 2023-03-24T07:53:32.746Z warnings.warn(
rpld4 2023-03-24T07:53:32.746Z Traceback (most recent call last):
rpld4 2023-03-24T07:53:32.746Z File "app.py", line 43, in <module>
rpld4 2023-03-24T07:53:32.746Z gr.Interface(inference,gr.inputs.Image(type="pil"),[gr.outputs.Image(label='Drivable Area Segmentation'),gr.outputs.Image(label='Lane Detection')],article=article,description=description,title=title,examples=examples).launch()
rpld4 2023-03-24T07:53:32.746Z File "/home/user/.local/lib/python3.8/site-packages/gradio/outputs.py", line 48, in __init__
rpld4 2023-03-24T07:53:32.746Z super().__init__(type=type, label=label)
rpld4 2023-03-24T07:53:32.746Z File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 1482, in __init__
rpld4 2023-03-24T07:53:32.746Z raise ValueError(
rpld4 2023-03-24T07:53:32.746Z ValueError: Invalid value for parameter `type`: auto. Please choose from one of: ['numpy', 'pil', 'filepath']