mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-03 05:10:16 +03:00
Update tool models to fix main (#7725)
# Description of Changes When #6697 merged, the CI didn't run for some reason so it was never caught that the tool models were out of date. This PR updates them to the correct state.
This commit is contained in:
@@ -725,6 +725,9 @@ class OcrPdfParams(ApiModel):
|
||||
)
|
||||
ocr_type: OcrType = Field(..., description="Specify the OCR type, e.g., 'skip-text', 'force-ocr', or 'Normal'")
|
||||
remove_images_after: bool | None = Field(None, description="Remove images from the output PDF if set to true")
|
||||
rotate_pages: bool | None = Field(
|
||||
None, description="Auto-correct page orientation (90/180/270) using Tesseract OSD if set to true"
|
||||
)
|
||||
sidecar: bool | None = Field(None, description="Include OCR text in a sidecar text file if set to true")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user