fixed typo in typing

Signed-off-by: bigcat88 <bigcat88@icloud.com>
This commit is contained in:
bigcat88
2025-04-19 10:50:29 +03:00
parent 5984b64ee6
commit a1d99499d4
+1 -1
View File
@@ -20,7 +20,7 @@ def temporary_env_var(key: str, new_value: str | None):
del os.environ[key]
def images_to_pillow(images: Tensor | list[Tensor]) -> list[Image]:
def images_to_pillow(images: Tensor | list[Tensor]) -> list[Image.Image]:
pillow_images = []
for _bn, image in enumerate(images):
i = 255.0 * image.cpu().numpy()