Update 'face_recognition/app/app.py'
This commit is contained in:
parent
43f4dc0b11
commit
00c29f0a50
@ -31,8 +31,9 @@ def new_user_id():
|
|||||||
minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
|
minioClient.fput_object('users', str(id), '/tmp/demo_object.pkl')
|
||||||
return(id)
|
return(id)
|
||||||
|
|
||||||
@app.route('/init_face/<id>')
|
@app.route('/init_face')
|
||||||
def new_face(id):
|
def new_face():
|
||||||
|
id = request.args.get('id', None)
|
||||||
return id
|
return id
|
||||||
|
|
||||||
def check_id(id):
|
def check_id(id):
|
||||||
|
Loading…
Reference in New Issue
Block a user