[Model] Nemotron Parse 1.1 Support (#30864)

Signed-off-by: amitz-nv <203509407+amitz-nv@users.noreply.github.com>
Signed-off-by: Michael Goin <mgoin64@gmail.com>
Co-authored-by: Michael Goin <mgoin64@gmail.com>
This commit is contained in:
amitz-nv
2026-01-05 13:00:14 -08:00
committed by GitHub
co-authored by Michael Goin
parent af1b07b0c5
commit ee21291825
13 changed files with 1117 additions and 31 deletions
+5 -2
View File
@@ -42,8 +42,11 @@ class ImageAsset:
)
@property
def pil_image(self, ext="jpg") -> Image.Image:
image_path = self.get_path(ext)
def pil_image(self) -> Image.Image:
return self.pil_image_ext(ext="jpg")
def pil_image_ext(self, ext: str) -> Image.Image:
image_path = self.get_path(ext=ext)
return Image.open(image_path)
@property