runtime error

t recent call last): File "/home/user/app/app.py", line 108, in <module> iface = gr.Interface(fn=apply_ner, inputs=gr.inputs.Textbox(lines=5, placeholder="Enter your text here", File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 649, in __init__ self.examples_handler = Examples( File "/usr/local/lib/python3.10/site-packages/gradio/examples.py", line 60, in create_examples utils.synchronize_async(examples_obj.create) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 360, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 103, in sync raise return_result File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner result[0] = await coro File "/usr/local/lib/python3.10/site-packages/gradio/examples.py", line 258, in create await self.cache() File "/usr/local/lib/python3.10/site-packages/gradio/examples.py", line 292, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1007, in process_api result = await self.call_function(fn_index, inputs, iterator, request) File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 848, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/user/app/app.py", line 95, in apply_ner entities = postprocess(classifications) File "/home/user/app/app.py", line 32, in postprocess if classifications[i]['entity'] != 0: KeyError: 0

Container logs:

Fetching error logs...