Zeyi-Lin / HivisionIDPhotos

⚡️HivisionIDPhotos: a lightweight and efficient AI ID photos tools. 一个轻量级的AI证件照制作算法。
https://swanhub.co/ZeYiLin/HivisionIDPhotos/demo
Apache License 2.0
10.27k stars 990 forks source link

Why does my Python 3.10 run with this error #142

Closed zhhOceanfly closed 4 days ago

zhhOceanfly commented 1 week ago

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

Zeyi-Lin commented 1 week ago

Is it the latest commit on the master branch? This issue should have been fixed yesterday