image_through_model #49

Merged
brian merged 75 commits from image_through_model into main 2024-10-20 00:10:27 +02:00
Showing only changes of commit bf4cc9c483 - Show all commits
+1
View File
@@ -15,6 +15,7 @@ def get_image(
"""Get image from image subfolder in bucket in Minio."""
assert isinstance(client, Minio)
assert isinstance(object_name, str)
assert len(object_name) > 0
# prepare arguments
bucket_name = os.getenv('MINIO_BUCKET_NAME')
subfolder = 'images'