selfit-camera commited on
Commit
47a64ee
·
1 Parent(s): 1c27f66
Files changed (1) hide show
  1. util.py +1 -1
util.py CHANGED
@@ -74,7 +74,7 @@ class R2Api:
74
  t1 = time.time()
75
  headers = {"Content-Type": content_type}
76
 
77
- cloud_path = f"QwenImageEdit/Uploads/{str(datetime.date.today())}/{filename}"
78
  url = self.client.generate_presigned_url(
79
  "put_object",
80
  Params={"Bucket": self.R2_BUCKET, "Key": cloud_path, "ContentType": content_type},
 
74
  t1 = time.time()
75
  headers = {"Content-Type": content_type}
76
 
77
+ cloud_path = f"ImageEdit/Uploads/{str(datetime.date.today())}/{filename}"
78
  url = self.client.generate_presigned_url(
79
  "put_object",
80
  Params={"Bucket": self.R2_BUCKET, "Key": cloud_path, "ContentType": content_type},