From a4bb4cebdf98e2e32808c02712d8cb0715633d37 Mon Sep 17 00:00:00 2001 From: Ze-Yi LIN <58305964+Zeyi-Lin@users.noreply.github.com> Date: Wed, 11 Sep 2024 01:24:33 +0800 Subject: [PATCH] fix: creator bug(#95) --- deploy_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy_api.py b/deploy_api.py index 5baa5df2..ef4494e5 100644 --- a/deploy_api.py +++ b/deploy_api.py @@ -52,8 +52,7 @@ async def idphoto_inference( size=size, head_measure_ratio=head_measure_ratio, head_height_ratio=head_height_ratio, - top_distance_max=top_distance_max, - top_distance_min=top_distance_min, + head_top_range=(top_distance_max, top_distance_min), ) except FaceError: result_message = {"status": False}