got error when running new docker

This commit is contained in:
ishak jmilou.ishak
2025-01-21 14:27:44 +01:00
parent 64d2aedc3b
commit 88364561ea

View File

@@ -158,7 +158,7 @@ def image():
return "No image available", 404 return "No image available", 404
@app.route('/yolo_results', methods=['GET', 'POST']) @app.route('/yolo_results', methods=['GET'])
def yolo_results_endpoint(): def yolo_results_endpoint():
global yolo_results global yolo_results
with lock: with lock: