runtime error
<module> gr.Interface( File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 646, in __init__ self.examples_handler = Examples( File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 60, in create_examples utils.synchronize_async(examples_obj.create) File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 375, 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/examples.py", line 259, in create await self.cache() File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 293, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 1015, in process_api result = await self.call_function(fn_index, inputs, iterator, request) File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 856, 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 34, in predict results = model(image, size=input_size) File "/home/user/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, **kwargs) TypeError: forward() got an unexpected keyword argument 'size'
Container logs:
Fetching error logs...