Skip to content

Commit 7f76f1b

Browse files
committed
Updated AWSRequest to use data instead of buffer in image upload logic
1 parent b81ed91 commit 7f76f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lf_toolkit/evaluation/image_upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_aws_signed_request(full_url, buffer, mime_type):
101101
aws_request = AWSRequest(
102102
method='PUT',
103103
url=full_url,
104-
data=buffer,
104+
data=data,
105105
headers=headers
106106
)
107107

0 commit comments

Comments
 (0)