Update 'face_recognition/app/app.py'
This commit is contained in:
parent
dd69300069
commit
3164c71b7e
@ -11,7 +11,8 @@ def hello_docker():
|
|||||||
def access_minio():
|
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)
|
||||||
|
|
||||||
return minioClient.list_buckets()
|
print(minioClient.list_buckets())
|
||||||
|
return(True)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(host='0.0.0.0')
|
app.run(host='0.0.0.0')
|
Loading…
Reference in New Issue
Block a user