runtime error
athlib.py", line 960, in __new__ self = cls._from_parts(args) File "/usr/local/lib/python3.10/pathlib.py", line 594, in _from_parts drv, root, parts = self._parse_args(args) File "/usr/local/lib/python3.10/pathlib.py", line 578, in _parse_args a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not dict During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> captioner = gr.Interface.load("nielsr/comparing-captioning-models", src="spaces") File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 102, in load return super().load(name=name, src=src, api_key=api_key, alias=alias, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1169, in load return external.load_blocks_from_repo(name, src, api_key, alias, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line 62, in load_blocks_from_repo blocks: gradio.Blocks = factory_methods[src](name, api_key, alias, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line 364, in from_spaces return from_spaces_blocks(config, api_key, iframe_url) File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line 415, in from_spaces_blocks return gradio.Blocks.from_config(config, fns, iframe_url) File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 579, in from_config with Blocks(theme=config["theme"], css=config["theme"]) as blocks: File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1097, in __exit__ self.config = self.get_config_file() File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1073, in get_config_file "props": utils.delete_none(block.get_config()) File "/usr/local/lib/python3.10/site-packages/gradio/components.py", line 4976, in get_config "headers": self.headers, AttributeError: 'Dataset' object has no attribute 'headers'
Container logs:
Fetching error logs...