Skip to content

Commit

Permalink
Fix for fallback stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Nov 21, 2024
1 parent 8c858a9 commit a91befc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdelfin/beakerpipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async def process_page(args, session: httpx.AsyncClient, worker_id: int, pdf_s3_
pdf_s3_path,
page_num,
PageResponse(natural_text=get_anchor_text(pdf_local_path, page_num, pdf_engine="pdftotext"),
is_rotation_valid=True, rotation_correction=0, is_table=False, is_diagram=False),
primary_language=None, is_rotation_valid=True, rotation_correction=0, is_table=False, is_diagram=False),
input_tokens=0,
output_tokens=0,
is_fallback=True
Expand Down
2 changes: 1 addition & 1 deletion pdelfin/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
_MINOR = "1"
# On main and in a nightly release the patch should be one ahead of the last
# released build.
_PATCH = "40"
_PATCH = "41"
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
# https://semver.org/#is-v123-a-semantic-version for the semantics.
_SUFFIX = ""
Expand Down

0 comments on commit a91befc

Please sign in to comment.