diff --git a/server/text_generation_server/models/custom_modeling/idefics_image_processing.py b/server/text_generation_server/models/custom_modeling/idefics_image_processing.py index 061243fb5b1..28525e86172 100644 --- a/server/text_generation_server/models/custom_modeling/idefics_image_processing.py +++ b/server/text_generation_server/models/custom_modeling/idefics_image_processing.py @@ -198,7 +198,7 @@ def fetch_images(self, image_url_or_urls: Union[str, List[str]]): response.raise_for_status() try: image = Image.open(BytesIO(response.content)) - image.verify() + # image.verify() except Exception: raise ValueError(f"Could not load image from url {image_url_or_urls}") return image