From d5524d789054650f578a2fd05bbdc85741bbe732 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Tue, 21 Jan 2025 15:09:23 +0100 Subject: [PATCH] shouldn't have done POST --- src/Python/flask/web/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index bb92725..7a73f3d 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -158,7 +158,7 @@ def image(): return "No image available", 404 -@app.route('/yolo_results', methods=['GET', 'POST']) +@app.route('/yolo_results', methods=['GET']) def yolo_results_endpoint(): global yolo_results with lock: