runtime error
Exit code: 1. Reason: /gradio/interface.py", line 475, in __init__ self.render_examples() File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 791, in render_examples self.examples_handler = Examples( File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 70, in create_examples utils.synchronize_async(examples_obj.create) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 516, 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/helpers.py", line 277, in create await self.cache() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 311, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1075, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 884, in call_function prediction = 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 2441, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 943, in run result = context.run(func, *args) File "/home/user/app/app.py", line 30, in classify_gender_equality return "This sentence is " + output_temp[0]['generated_text'] + " for gender equality" KeyError: 0 IMPORTANT: You are using gradio version 3.23.0, however version 4.44.1 is available, please upgrade. -------- Caching examples at: '/home/user/app/gradio_cached_examples/14'
Container logs:
Fetching error logs...