• myhloli's avatar
    fix(magic_pdf): handle missing image_path in spans · faf8c286
    myhloli authored
    - Add check for 'image_path' in spans to avoid errors when it's missing
    - Update image handling in both paragraph text and content dictionary
    - Improve error handling and make the code more robust
    faf8c286
ocr_mkcontent.py 11.6 KB