feat(examples): add progress feedback for batch parsing#191
Open
however-yir wants to merge 2 commits intozai-org:mainfrom
Open
feat(examples): add progress feedback for batch parsing#191however-yir wants to merge 2 commits intozai-org:mainfrom
however-yir wants to merge 2 commits intozai-org:mainfrom
Conversation
Collaborator
|
This is a good one, why dont we add a tqdm for every request that num of images or pages of pdf > 1 |
Author
|
@JaredforReal Thanks for the suggestion — implemented in the latest commit.\n\nUpdated to add progress for multi-input runs, and for PDF inputs the progress is weighted by page count (via ) so multi-page PDFs are reflected in progress as well.\n\nCould you please take another look? |
Author
|
@JaredforReal Thanks for the suggestion — implemented in the latest commit. Updated examples/example.py to add tqdm progress for multi-input runs, and for PDF inputs the progress is weighted by page count (via pdfinfo) so multi-page PDFs are reflected in progress as well. Could you please take another look? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/example.py([idx/total]format)Why
Issue #136 asks for feedback while processing PDF/document batches. This improves visibility during long runs without changing API behavior.
Closes #136