mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 12:34:22 +00:00
support image/webp file type
Signed-off-by: Elwin <61868295+hzhaoy@users.noreply.github.com> Signed-off-by: Elwin <hzywong@gmail.com>
This commit is contained in:
parent
fa7fc9e63d
commit
497597c258
@ -90,6 +90,7 @@ FormatToMimeType: Dict[InputFormat, List[str]] = {
|
|||||||
"image/tiff",
|
"image/tiff",
|
||||||
"image/gif",
|
"image/gif",
|
||||||
"image/bmp",
|
"image/bmp",
|
||||||
|
"image/webp",
|
||||||
],
|
],
|
||||||
InputFormat.PDF: ["application/pdf"],
|
InputFormat.PDF: ["application/pdf"],
|
||||||
InputFormat.ASCIIDOC: ["text/asciidoc"],
|
InputFormat.ASCIIDOC: ["text/asciidoc"],
|
||||||
|
Loading…
Reference in New Issue
Block a user