aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py')
-rwxr-xr-xvnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py b/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py
index dbdabc3a..eae66d72 100755
--- a/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py
+++ b/vnfs/DAaaS/sample-apps/sample-minio-load-model/build/load-model-from-minio.py
@@ -35,7 +35,7 @@ client = Minio(os.environ['S3_ENDPOINT'],
secure=False)
-def load_model(bucket_name, object_name, filepath):
+def load_model(bucket_name, object_name, filepath):
try:
client.fget_object(bucket_name, object_name, filepath)
except ResponseError as err:
@@ -48,4 +48,4 @@ if __name__ == "__main__":
for object_name in objects:
print(f"Load model from s3://{bucket_name}/{object_name} to {filepath+object_name}")
load_model(bucket_name, object_name, filepath+object_name)
- time.sleep(300) \ No newline at end of file
+ time.sleep(300)