huggingface / pixparse

Pixel Parsing. A reproduction of OCR-free end-to-end document understanding models with open data
11 stars 3 forks source link

add try/catch block in case of empty text #11

Closed molbap closed 1 year ago

molbap commented 1 year ago

Quick fix to catch empty texts.

rwightman commented 1 year ago

@molbap should use a logger instead of print