From ffc345aaabf41aa50acb0694921067d7d74af486 Mon Sep 17 00:00:00 2001 From: fabrice Date: Wed, 26 Jun 2019 08:09:07 +0000 Subject: [PATCH] Update 'face_recognition/app/app.py' start commenting code --- face_recognition/app/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/face_recognition/app/app.py b/face_recognition/app/app.py index bc3ef24..51feb40 100644 --- a/face_recognition/app/app.py +++ b/face_recognition/app/app.py @@ -21,11 +21,11 @@ def hello_docker(): def access_minio(): for bucket in minioClient.list_buckets(): print(bucket.name, bucket.creation_date, flush=True) - return('Connection Succesfull') + return 'Connection Succesfull' @app.route('/new_user_id') def new_user_id(): -#demo objekt speichern um id zu 'speichern'. Später mit if (type(object)==list oä überschreiben mit face_encoding.pkl +#save demo object to reserve id in minio id = None for limited_try in range(0,5): id = str(uuid.uuid4())