diff --git a/RunCounting.py b/RunCounting.py index 2ef21c8..80f7552 100644 --- a/RunCounting.py +++ b/RunCounting.py @@ -31,7 +31,7 @@ args = None def counter(): # return the rendered template global people_count - return jsonify({counter: people_count}) + return jsonify({"counter": people_count}) @app.route("/video") @cross_origin()