PuristanLabs1 commited on
Commit
642901b
·
verified ·
1 Parent(s): 28e2a69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def upload_image_to_s3(image_data, filename):
78
  Key=filename,
79
  Body=image_data,
80
  ContentType='image/png',
81
- ACL='public-read' # Make the image publicly readable
82
  )
83
  # Generate the S3 URL
84
  s3_url = f"https://{BUCKET_NAME}.s3.amazonaws.com/{filename}"
 
78
  Key=filename,
79
  Body=image_data,
80
  ContentType='image/png',
81
+
82
  )
83
  # Generate the S3 URL
84
  s3_url = f"https://{BUCKET_NAME}.s3.amazonaws.com/{filename}"