mirror of
https://github.com/rendies/People-Counting-in-Real-Time.git
synced 2025-10-29 19:43:03 +07:00
fix: polishing code
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user