1. 05 Jan, 2025 1 commit
    • myhloli's avatar
      fix(magic-pdf): update OCR model selection logic · 16a0a350
      myhloli authored
      - Add missing 'else' statement in OCR model selection logic
      - Ensure consistent formatting of 'if' statements for better readability
      - Remove unnecessary empty line in the 'app.py' file
      16a0a350
  2. 03 Jan, 2025 1 commit
  3. 18 Dec, 2024 1 commit
    • myhloli's avatar
      feat(gradio-app): improve PDF conversion and UI functionalities · bf2ff5a2
      myhloli authored
      - Add automatic conversion of uploaded files to PDF
      - Update max page slider range and default value- Prevent interaction with PDF preview to avoid errors
      - Increase Markdown rendering height for better visibility
      - Update file change event handling for PDF conversion
      - Modify supported image suffixes for file upload
      bf2ff5a2
  4. 17 Dec, 2024 1 commit
  5. 12 Dec, 2024 1 commit
  6. 06 Dec, 2024 1 commit
    • myhloli's avatar
      refactor(magic-pdf): optimize model initialization and concurrency control · 012a46e0
      myhloli authored
      - Remove concurrency limit logic from app.py
      - Update model initialization process in various modules
      - Remove unused VRAM check for concurrency limit
      - Refactor OCR model initialization in pdf_extract_kit.py
      - Update txt_spans_extract_v2 function to use lang parameter instead of ocr_model
      012a46e0
  7. 03 Dec, 2024 2 commits
    • myhloli's avatar
      fix(vram): improve VRAM checking logic · 104273cc
      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
      104273cc
    • myhloli's avatar
      feat(gradio_app): implement dynamic concurrency limit based on VRAM · b1fe9d4f
      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
      b1fe9d4f
  8. 30 Nov, 2024 1 commit
  9. 24 Nov, 2024 1 commit
  10. 21 Nov, 2024 1 commit
  11. 18 Nov, 2024 1 commit
  12. 15 Nov, 2024 1 commit
  13. 08 Nov, 2024 1 commit
  14. 05 Nov, 2024 1 commit
  15. 29 Oct, 2024 1 commit
    • myhloli's avatar
      (docs&build): switch to Aliyun PyPI mirror · 4c412b28
      myhloli authored
      - Update PyPI mirror from Tsinghua to Aliyun in multiple Dockerfiles and installation scripts
      - This change may improve package download speed and reliability for users in China
      4c412b28
  16. 26 Oct, 2024 1 commit
  17. 23 Oct, 2024 2 commits
    • myhloli's avatar
      feat: add support for non-PDF file conversion to PDF · 4834baf4
      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
      4834baf4
    • myhloli's avatar
      feat(model): add support for DocLayout-YOLO model · 1279f2cd
      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
      1279f2cd
  18. 16 Oct, 2024 1 commit
  19. 08 Oct, 2024 1 commit
    • myhloli's avatar
      feat: add arXiv paper link to header and adjust PDF parsing logic- Add arXiv... · a71db703
      myhloli authored
      feat: add arXiv paper link to header and adjust PDF parsing logic- Add arXiv paper link to the header template for easy access to the latest research paper.
      - Modify the PDF parsing logic to handle edge cases more accurately, particularly in determining the number of lines in a block based on its height.
      a71db703
  20. 27 Sep, 2024 7 commits
  21. 26 Sep, 2024 5 commits
  22. 25 Sep, 2024 2 commits
  23. 20 Sep, 2024 2 commits
  24. 19 Sep, 2024 2 commits
  25. 12 Sep, 2024 1 commit