From d1ad0f89a53c4c8d09269e8df0ff613a2a18355a Mon Sep 17 00:00:00 2001 From: Alexandre Marques Date: Thu, 5 Dec 2024 23:20:48 +0000 Subject: [PATCH] Use resized image --- src/guidellm/utils/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guidellm/utils/images.py b/src/guidellm/utils/images.py index ed1b30a..fb66d43 100644 --- a/src/guidellm/utils/images.py +++ b/src/guidellm/utils/images.py @@ -73,7 +73,7 @@ def load_images(data: str, image_resolution: Optional[List[int]]) -> List[ImageD images.append( ImageDescriptor( url=img_url, - image=Image.open(BytesIO(img_response.content)), + image=image, ) )