Skip to content

Commit 3b89d77

Browse files
committed
Update api.py
1 parent 7ba924a commit 3b89d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/api/api.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -972,9 +972,9 @@ def post_invocations(self, b64images, quality):
972972
Body=bytes_data,
973973
Bucket=bucket,
974974
Key=f'{key}/{image_id}.{suffix}',
975-
ExtraArgs={
976-
"ContentType": f"image/{suffix}"
977-
}
975+
# ExtraArgs={
976+
# "ContentType": f"image/{suffix}"
977+
# }
978978
)
979979
images.append(f's3://{bucket}/{key}/{image_id}.{suffix}')
980980
return images

0 commit comments

Comments
 (0)