- 03 Dec, 2024 2 commits
-
-
myhloli authored
- Update VRAM checking logic in app.py and model_utils.py - Add None and type checks for VRAM values - Adjust concurrency limit calculation in app.py - Modify clean_vram function to handle cases with no VRAM information
-
myhloli authored
- Add get_concurrency_limit function to calculate concurrency limit based on VRAM - Update clean_vram function and rename to get_vram for better clarity - Apply concurrency limit to the to_markdown function in the Gradio app
-
- 21 Nov, 2024 1 commit
-
-
icecraft authored
-
- 18 Nov, 2024 1 commit
-
-
icecraft authored
-
- 08 Nov, 2024 1 commit
-
-
myhloli authored
- Add missing '.jpg' file type to the list of allowed file types for upload
-
- 23 Oct, 2024 2 commits
-
-
myhloli authored
- Implement to_pdf function to convert non-PDF files to PDF format - Integrate file upload functionality for PDF and image files- Update UI to include file upload component and PDF preview - Add conversion button and update its functionality to handle new file types
-
myhloli authored
- Add new layout model option: DocLayout-YOLO - Implement model initialization and prediction for DocLayout-YOLO - Update configuration options to include new model- Modify existing code to support both LayoutLMv3 and DocLayout-YOLO models - Update Gradio app to support more Custom Switch
-
- 12 Sep, 2024 1 commit
-
-
myhloli authored
Introduce an examples accordion within the Gradio application to provide users with a selection of sample PDFs for demonstration purposes. The added functionality allows users to quickly test the PDF conversion feature with various document types.
-
- 09 Sep, 2024 1 commit
-
-
myhloli authored
-
- 03 Sep, 2024 1 commit
-
-
Xiaomeng Zhao authored
Removed the previously used gradio and gradio-pdf imports which were not leveraged in the code. Also, replaced the custom `show_pdf` function with direct use of the `PDF` component from gradio for a simpler and more integrated PDF upload and display solution, improving code maintainability and readability.
-
- 31 Aug, 2024 1 commit
-
-
Xiaomeng Zhao authored
-