Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-10 09:41:07 +00:00
parent 3164c71b7e
commit 8ce7738b9e

View File

@ -12,7 +12,7 @@ def access_minio():
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=False) minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=False)
print(minioClient.list_buckets()) print(minioClient.list_buckets())
return(True) return('Connection Succesfull')
if __name__ == '__main__': if __name__ == '__main__':
app.run(host='0.0.0.0') app.run(host='0.0.0.0')