Skip to content

Commit

Permalink
fix: api
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyi-Lin committed Sep 5, 2024
1 parent d156300 commit 1bd65eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ async def idphoto_inference(
else:
result_messgae = {
"status": True,
"img_output_standard": numpy_2_base64(result_image_standard),
"img_output_standard_hd": numpy_2_base64(result_image_hd),
"image_base64_standard": numpy_2_base64(result_image_standard),
"image_base64_hd": numpy_2_base64(result_image_hd),
}

return result_messgae
Expand Down Expand Up @@ -141,7 +141,7 @@ async def generate_layout_photos(

result_messgae = {
"status": True,
"image": result_layout_image_base64,
"image_base64": result_layout_image_base64,
}

# except Exception as e:
Expand Down

0 comments on commit 1bd65eb

Please sign in to comment.