Compare commits

...

1 Commits

Author SHA1 Message Date
Pierre-Loic Doulcet 5b03117032 allow for .jpg images 2024-05-23 10:31:47 +02:00
+2 -1
View File
@@ -341,7 +341,8 @@ class LlamaParse(BasePydanticReader):
# get a valid image path
if not image_path.endswith(".png"):
image_path += ".png"
if not image_path.endswith(".jpg"):
image_path += ".png"
image["path"] = image_path
image["job_id"] = job_id