Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-10 09:39:38 +00:00
parent dd69300069
commit 3164c71b7e

View File

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