userIdc2024 commited on
Commit
008b56c
·
verified ·
1 Parent(s): bbac2a3

Update r2_uploader.py

Browse files
Files changed (1) hide show
  1. r2_uploader.py +1 -1
r2_uploader.py CHANGED
@@ -1,7 +1,7 @@
1
  import boto3, os
2
  from uuid import uuid4
3
 
4
- def upload_image_to_r2(image_bytes, folder_name="leadgen_vivek", app_type="default"):
5
  s3 = boto3.client(
6
  "s3",
7
  endpoint_url=os.getenv("R2_ENDPOINT"),
 
1
  import boto3, os
2
  from uuid import uuid4
3
 
4
+ def upload_image_to_r2(image_bytes, folder_name="search_arb", app_type="template"):
5
  s3 = boto3.client(
6
  "s3",
7
  endpoint_url=os.getenv("R2_ENDPOINT"),