selfit-camera commited on
Commit
1c27f66
·
1 Parent(s): cdb8e81
Files changed (1) hide show
  1. util.py +1 -1
util.py CHANGED
@@ -116,7 +116,7 @@ class R2Api:
116
  headers = {"Content-Type": ctype}
117
 
118
 
119
- cloud_path = f"QwenImageEdit/Uploads/{str(datetime.date.today())}/{os.path.basename(local_path)}"
120
  url = self.client.generate_presigned_url(
121
  "put_object",
122
  Params={"Bucket": self.R2_BUCKET, "Key": cloud_path, "ContentType": ctype},
 
116
  headers = {"Content-Type": ctype}
117
 
118
 
119
+ cloud_path = f"ImageEdit/Uploads/{str(datetime.date.today())}/{os.path.basename(local_path)}"
120
  url = self.client.generate_presigned_url(
121
  "put_object",
122
  Params={"Bucket": self.R2_BUCKET, "Key": cloud_path, "ContentType": ctype},