Skip to content

Commit

Permalink
ruff :(
Browse files Browse the repository at this point in the history
  • Loading branch information
andimarafioti committed Sep 17, 2024
1 parent cfdda45 commit 5f0c2dc
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,12 @@ def preprocess(
# We square the images to max_image_size
images_list = [
[
self.resize(image=image, size={'height': max_image_size["longest_edge"], "width": max_image_size["longest_edge"]}, resample=resample, input_data_format=data_format)
self.resize(
image=image,
size={"height": max_image_size["longest_edge"], "width": max_image_size["longest_edge"]},
resample=resample,
input_data_format=data_format,
)
for image in images
]
for images in images_list
Expand Down

0 comments on commit 5f0c2dc

Please sign in to comment.