mirror of
https://github.com/rendies/People-Counting-in-Real-Time.git
synced 2025-05-14 09:59:29 +07:00
fix: polishing code
This commit is contained in:
parent
4c9292de2f
commit
57ca6ee906
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user