From a1d44646aef8b8ac8999eb2bd41cc91848e67eb1 Mon Sep 17 00:00:00 2001 From: Amrasil <134395490+Amrasil@users.noreply.github.com> Date: Thu, 27 Mar 2025 15:22:59 +0100 Subject: [PATCH] Update main.py description image recognition --- senju/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/senju/main.py b/senju/main.py index 8befcf0..d09d266 100644 --- a/senju/main.py +++ b/senju/main.py @@ -168,6 +168,9 @@ def scan_view(): @app.route("/api/v1/image_reco", methods=['POST']) def image_recognition(): + """ + returns json formatted description of an image + """ # note that the classifier is a singleton if 'image' not in request.files: return "No image file provided", 400