had to remove the :int on route for Flask to load now - a library was failing with a converter / lookup failure
This commit is contained in:
2
ai.py
2
ai.py
@@ -155,7 +155,7 @@ def unmatched_faces():
|
|||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@app.route("/get_face_from_image/<face_id:int>", methods=["POST"])
|
@app.route("/get_face_from_image/<face_id>", methods=["POST"])
|
||||||
@login_required
|
@login_required
|
||||||
def get_face_from_image(face_id):
|
def get_face_from_image(face_id):
|
||||||
""" route to handle URL: /get_face_from_image/<face_id:int>
|
""" route to handle URL: /get_face_from_image/<face_id:int>
|
||||||
|
|||||||
Reference in New Issue
Block a user