runtime error
Space failed to start. Exit code: 1. Reason: aceback (most recent call last): File "app.py", line 80, in <module> iface = gr.Interface( File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 475, in __init__ self.render_examples() File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 791, in render_examples self.examples_handler = Examples( File "/home/user/.local/lib/python3.8/site-packages/gradio/helpers.py", line 70, in create_examples utils.synchronize_async(examples_obj.create) File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 516, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 100, in sync raise return_result File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 55, 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 311, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1075, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 884, 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 51, in chat history = gr.get_state() or [] AttributeError: module 'gradio' has no attribute 'get_state'
Container logs:
Fetching error logs...