From 88364561eafdacaaa8168461c4641dcfa6c3bb75 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Tue, 21 Jan 2025 14:27:44 +0100 Subject: [PATCH] got error when running new docker --- 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: