Skip to content

Commit

Permalink
Fix pydantic format
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarques committed Dec 5, 2024
1 parent 8171820 commit e845510
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/guidellm/core/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def number_images(self) -> int:
return len(self.images)

@property
def image_resolution(self) -> List[Tuple[int]]:
def image_resolution(self) -> List[Tuple[int, int]]:
if self.images is None:
return None
else:
Expand Down
2 changes: 1 addition & 1 deletion src/guidellm/utils/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ImageDescriptor(Serializable):

@computed_field # type: ignore[misc]
@property
def image_resolution(self) -> Tuple[int]:
def image_resolution(self) -> Tuple[int, int]:
if self.image is None:
return None
else:
Expand Down

0 comments on commit e845510

Please sign in to comment.