refactor(magic_pdf): simplify device selection in model initialization
- Replace complex device selection logic with a single line using torch.device - Remove redundant checks and imports for better readability and maintainability
Showing
Please register or sign in to comment