Skip to content

Commit 525abcb

Browse files
committed
upgrade marker and fix swagger issue
1 parent f30cb0d commit 525abcb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies = [
1010
"gunicorn==23.0.0",
1111
"fastapi==0.115.8",
1212
"python-multipart==0.0.20",
13-
"marker-pdf[full]==1.7.1",
13+
"marker-pdf[full]==1.7.5",
1414
"uvicorn==0.34.0",
1515
]
1616

server/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def health() -> Response:
5151
return Response(status_code=200)
5252

5353

54-
page_range = Form(default=None, description="Page range to convert, specify comma separated page numbers or ranges. Example: '0,5-10,20'", example="0,5-10,20") # fmt: off
54+
page_range = Form(default="", description="Page range to convert, specify comma separated page numbers or ranges. Example: '0,5-10,20'") # fmt: off
5555
force_ocr = Form(default=False, description="Force OCR on all pages of the PDF. Defaults to False. This can lead to worse results if you have good text in your PDFs (which is true in most cases).") # fmt: off
5656
paginate_output = Form(default=False, description="Whether to paginate the output. Defaults to False. If set to True, each page of the output will be separated by a horizontal rule that contains the page number (2 newlines, {PAGE_NUMBER}, 48 - characters, 2 newlines).") # fmt: off
5757
output_format = Form(default="markdown", description="The format to output the text in. Can be 'markdown', 'json', or 'html'. Defaults to 'markdown'.") # fmt: off

0 commit comments

Comments
 (0)