From 4f67cb30d963472c105a5f37c80686fd70bb4282 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Mon, 18 Sep 2023 22:26:30 +1000 Subject: [PATCH] had to remove the :int on route for Flask to load now - a library was failing with a converter / lookup failure --- ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai.py b/ai.py index 700acc4..634f631 100644 --- a/ai.py +++ b/ai.py @@ -155,7 +155,7 @@ def unmatched_faces(): ################################################################################ -@app.route("/get_face_from_image/", methods=["POST"]) +@app.route("/get_face_from_image/", methods=["POST"]) @login_required def get_face_from_image(face_id): """ route to handle URL: /get_face_from_image/