runtime error

sspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore File "/home/user/.local/lib/python3.10/site-packages/fsspec/", line 106, in sync raise return_result File "/home/user/.local/lib/python3.10/site-packages/fsspec/", line 61, in _runner result[0] = await coro File "/home/user/.local/lib/python3.10/site-packages/gradio/", line 277, in create await self.cache() File "/home/user/.local/lib/python3.10/site-packages/gradio/", line 337, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.10/site-packages/gradio/", line 1437, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.10/site-packages/gradio/", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.10/site-packages/anyio/", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/", line 807, in run result =, *args) File "/home/user/.local/lib/python3.10/site-packages/gradio/", line 650, in wrapper response = f(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/gradio/", line 421, in query_huggingface_api raise Error( gradio.exceptions.Error: 'Could not complete request to HuggingFace API, Status Code: 500, Error: unknown error, Warnings: [\'Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.\', "The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input\'s `attention_mask` to obtain reliable results.", "There was an inference error: unknown error: \'NoneType\' object has no attribute \'new_ones\'"]'

Container logs:

Fetching error logs...