Spaces:
yahtzee
/
Sleeping

Dots-OCR / app.py

Commit History

  1. fix bug

    07714ca
  2. raw output tab

    3fd1b59
  3. allow custom prompts

    94c64d2
  4. fa -> sdpa

    4a015a8
  5. remove "PDF" and rule about not processing image within a "Picture"

    Verified signature
    373717f

  1. Enhance is_arabic_text function: refine detection to focus on headers and paragraphs, excluding lists and code blocks

    5d256ae
  2. Enhance layoutjson2md function: embed images in markdown output using base64 encoding for 'Picture' category

    34a5af9

  1. Refactor turn_page function: update return values to include processed image and layout JSON, and improve page info handling

    c166286
  2. Refactor create_gradio_interface: remove unused processing state and clean up return values

    61f26f1
  3. Add Arabic text detection functionality and update UI for multilingual support

    5f82e6a
  4. Remove debug print statement for torch version from app.py

    77be916
  5. Refactor layoutjson2md function: remove unused parameter and clean up markdown output handling

    5f76d0a
  6. Update inference decorator to use GPU() from spaces for improved performance

    118bfa5
  7. Refactor inference and process_image functions: streamline parameters and enhance layout processing

    008db80
  8. Refactor app.py and requirements.txt: Reorganize imports and add 'accelerate' to dependencies

    f157a13
  9. Refactor app.py: Clean up unused prompts and reorganize imports for clarity

    e6c24fd
  10. Add initial implementation of Dots.OCR Gradio demo application and requirements

    02c7af0