mirror of
https://github.com/rendies/People-Counting-in-Real-Time.git
synced 2025-05-14 18:09:29 +07:00
fix: polishing code
This commit is contained in:
parent
4c9292de2f
commit
57ca6ee906
|
@ -31,7 +31,7 @@ args = None
|
||||||
def counter():
|
def counter():
|
||||||
# return the rendered template
|
# return the rendered template
|
||||||
global people_count
|
global people_count
|
||||||
return jsonify({counter: people_count})
|
return jsonify({"counter": people_count})
|
||||||
|
|
||||||
@app.route("/video")
|
@app.route("/video")
|
||||||
@cross_origin()
|
@cross_origin()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user