File "/Users/oceanfly/.conda/envs/python3.10.0_env/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 "/Users/oceanfly/.conda/envs/python3.10.0_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "/Users/oceanfly/.conda/envs/python3.10.0_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run
result = context.run(func, args)
File "/Users/oceanfly/.conda/envs/python3.10.0_env/lib/python3.10/site-packages/gradio/utils.py", line 826, in wrapper
response = f(args, **kwargs)
File "/Users/oceanfly/workspace/ai/HivisionIDPhotos/demo/processor.py", line 129, in process
return self._process_generated_photo(
File "/Users/oceanfly/workspace/ai/HivisionIDPhotos/demo/processor.py", line 327, in _process_generated_photo
return self._create_response(
TypeError: IDPhotoProcessor._create_response() takes 6 positional arguments but 7 were given
File "/Users/oceanfly/.conda/envs/python3.10.0_env/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 "/Users/oceanfly/.conda/envs/python3.10.0_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "/Users/oceanfly/.conda/envs/python3.10.0_env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run result = context.run(func, args) File "/Users/oceanfly/.conda/envs/python3.10.0_env/lib/python3.10/site-packages/gradio/utils.py", line 826, in wrapper response = f(args, **kwargs) File "/Users/oceanfly/workspace/ai/HivisionIDPhotos/demo/processor.py", line 129, in process return self._process_generated_photo( File "/Users/oceanfly/workspace/ai/HivisionIDPhotos/demo/processor.py", line 327, in _process_generated_photo return self._create_response( TypeError: IDPhotoProcessor._create_response() takes 6 positional arguments but 7 were given