Update 'face_recognition/app/app.py'

start commenting code
This commit is contained in:
fabrice 2019-06-26 08:09:07 +00:00
parent 09a24ce442
commit ffc345aaab

View File

@ -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())