Update 'face_recognition/app/app.py'

This commit is contained in:
fabrice 2019-06-10 09:37:51 +00:00
parent 05f5d947db
commit dd69300069

View File

@ -9,7 +9,7 @@ def hello_docker():
@app.route('/acces_minio')
def access_minio():
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=True)
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=False)
return minioClient.list_buckets()