mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
refactor: remove allowed_formats from DocumentConverter initialization in DoclingService to allow acceptance of all supported formats
This commit is contained in:
parent
caca491774
commit
47f4be08d9
2 changed files with 13 additions and 15 deletions
|
|
@ -111,9 +111,7 @@ class DoclingService:
|
|||
pipeline_options=pipeline_options, backend=PyPdfiumDocumentBackend
|
||||
)
|
||||
|
||||
# Initialize DocumentConverter with PDF and IMAGE support
|
||||
self.converter = DocumentConverter(
|
||||
allowed_formats=[InputFormat.PDF, InputFormat.IMAGE],
|
||||
format_options={InputFormat.PDF: pdf_format_option},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue