surya
surya copied to clipboard
Detection of "cuda" type fails to flush
det_model.device == "cuda" should be det_model.device.type == "cuda"
https://github.com/VikParuchuri/surya/blob/ac07e7c8f5046c41804eb132479e688e8efb2611/surya/ocr.py#L65