runtime error
rsions/3.10.14/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner result[0] = await coro File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/gradio/helpers.py", line 478, in cache prediction = await Context.root_block.process_api( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/gradio/blocks.py", line 1786, in process_api result = await self.call_function( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/gradio/blocks.py", line 1338, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/gradio/utils.py", line 759, in wrapper response = f(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/gradio/external.py", line 357, in query_huggingface_inference_endpoints data = fn(*data) # type: ignore File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 1052, in image_to_text return ImageToTextOutput.parse_obj_as_instance(response) File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/huggingface_hub/inference/_generated/types/base.py", line 55, in parse_obj_as_instance raise ValueError(f"Invalid input data for {cls}. Expected a single instance, but got a list.") ValueError: Invalid input data for <class 'huggingface_hub.inference._generated.types.image_to_text.ImageToTextOutput'>. Expected a single instance, but got a list.
Container logs:
Fetching error logs...