refactor(ocr): remove redundant code and improve code quality
- Remove unnecessary GPU checks and cuda() calls - Consolidate tensor device placement using .to(self.device) - Add warning suppression for cleaner output - Refactor conditional logic for better readability
Showing
Please register or sign in to comment