runtime error

, line 484, in __init__ self.render_examples() File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/interface.py", line 744, in render_examples self.examples_handler = Examples( File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/helpers.py", line 69, in create_examples utils.synchronize_async(examples_obj.create) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/utils.py", line 409, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/fsspec/asyn.py", line 99, in sync raise return_result File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/fsspec/asyn.py", line 54, in _runner result[0] = await coro File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/helpers.py", line 273, in create await self.cache() File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/helpers.py", line 308, in cache prediction = await Context.root_block.process_api( File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/blocks.py", line 1012, in process_api result = await self.call_function( File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/blocks.py", line 830, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.pyenv/versions/3.8.9/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/.pyenv/versions/3.8.9/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "app.py", line 11, in inference model.predict(image.name) AttributeError: 'str' object has no attribute 'name'

Container logs:

Fetching error logs...