runtime error

aceback (most recent call last): File "/home/user/app/app.py", line 22, in <module> gr.ChatInterface( File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 299, in __init__ self.examples_handler._start_caching() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 357, in _start_caching client_utils.synchronize_async(self.cache) File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 858, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore 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/helpers.py", line 478, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1741, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1294, in call_function prediction = await fn(*processed_input) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 718, in async_wrapper response = await f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 613, in _examples_fn response = await anyio.to_thread.run_sync( File "/usr/local/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 "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) File "/home/user/app/app.py", line 18, in yes_man while 'generated_text' not in list(data[0].keys()): KeyError: 0

Container logs:

Fetching error logs...