runtime error
iface = gr.Interface(fn=edict, inputs=[gr.Image(interactive=False), File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 484, in __init__ self.render_examples() File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 785, in render_examples self.examples_handler = Examples( File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 69, in create_examples utils.synchronize_async(examples_obj.create) File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 420, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 106, in sync raise return_result File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 61, in _runner result[0] = await coro File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 273, in create await self.cache() File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 308, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1017, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 835, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/user/app/app.py", line 44, in edict url = url + "/api/edit" TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Container logs:
Fetching error logs...