surya
surya copied to clipboard
Update README.md
ModuleNotFoundError: No module named 'surya.model.segformer'
Change This
From from surya.model.segformer import load_model, load_processor
To from surya.model.detection.segformer import load_model, load_processor
exactly as it was updated in this commit for the "layout" and "text line detection" sections and forgotten for the first OCR section
very important!!