Ensure all models work only on valid pages (#158)

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
Christoph Auer
2024-10-18 08:54:06 +02:00
committed by GitHub
parent 034a411057
commit a00c937e19
10 changed files with 413 additions and 376 deletions

View File

@@ -126,7 +126,7 @@ input_files = [
]
# Directly pass list of files or streams to `convert_all`
conv_results_iter = doc_converter.convert_all(input_files) # previously `convert_batch`
conv_results_iter = doc_converter.convert_all(input_files) # previously `convert`
```
Through the `raises_on_error` argument, you can also control if the conversion should raise exceptions when first
@@ -135,7 +135,7 @@ By default, any error is immediately raised and the conversion aborts (previousl
```python
...
conv_results_iter = doc_converter.convert_all(input_files, raises_on_error=False) # previously `convert_batch`
conv_results_iter = doc_converter.convert_all(input_files, raises_on_error=False) # previously `convert`
```