runtime error

in <module> demo = gr.Interface( File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 456, in __init__ self.render_examples() File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 770, in render_examples self.examples_handler = Examples( File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 70, in create_examples client_utils.synchronize_async(examples_obj.create) File "/home/user/.local/lib/python3.8/site-packages/gradio_client/utils.py", line 491, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 99, in sync raise return_result File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 54, in _runner result[0] = await coro File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 277, in create await self.cache() File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 312, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1299, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1021, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "app.py", line 14, in text_analysis pos_tokens.extend([(token.text, token.pos_), (" ", None)]) AttributeError: 'dict' object has no attribute 'text'

Container logs:

Fetching error logs...