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 a0726857a0 - Show all commits
+1
View File
@@ -18,6 +18,7 @@ def put_model(
used as object name."""
assert isinstance(client, Minio)
assert isinstance(model, Module)
assert 'MINIO_BUCKET_NAME' in os.environ
bucket_name = os.getenv('MINIO_BUCKET_NAME')
subfolder = 'models'
# save image to buffer